{# /** * @file * Default theme implementation for the summary of a collapsed thread call. * * Available variables: * - title: The call's number and what it got back, e.g. "3 ยท Tool calls". * - purpose_tags: The request tags that say what the call was for. * - meta: When the call was made in the thread, its tokens and model. * - tool_calls: The tools called, if the model only called tools, each with: * - name: The tool's name. * - arguments: Its arguments, summarized on one line. * - preview: The start of the call's reply, if it replied. * * @ingroup themeable */ #} {{ title }} {% for tag in purpose_tags %} {{ tag }} {% endfor %} {{ meta }} {% for tool_call in tool_calls %} {{ tool_call.name }}{% if tool_call.arguments %} {{ tool_call.arguments }}{% endif %} {% endfor %} {% if preview %} {{ preview }} {% endif %}