{% extends '@WebProfiler/Profiler/layout.html.twig' %} {% block toolbar %} {% if collector.platformCalls|length > 0 %} {% set icon %} {{ include('@Ai/icon.svg', { y: 18 }) }} {% endset %} {% set text %}
{% endset %} {{ include('@WebProfiler/Profiler/toolbar_item.html.twig', { 'link': true }) }} {% endif %} {% endblock %} {% block menu %} {{ include('@Ai/icon.svg', { y: 16 }) }} Symfony AI {{ collector.platformCalls|length }} {% endblock %} {% macro tool_calls(toolCalls) %} Tool call{{ toolCalls|length > 1 ? 's' }}:| Call {{ loop.index }} | |
|---|---|
| Model | {{ call.model }} |
| Input |
{% if call.input.messages is defined %}{# expect MessageBag #}
|
| Options |
|
| Result |
{% if call.input.messages is defined and call.result is iterable %}{# expect array of ToolCall #}
{{ _self.tool_calls(call.result) }}
{% elseif call.result is iterable %}{# expect array of Vectors #}
Metadata
|
No platform calls were made.
| Name | Description | Class & Method | Parameters |
|---|---|---|---|
| {{ tool.name }} | {{ tool.description }} | {{ tool.reference.class }}::{{ tool.reference.method }} |
{% if tool.parameters %}
|
No tools were registered.
| {{ toolResult.toolCall.name }} | |
|---|---|
| ID | {{ toolResult.toolCall.id }} |
| Arguments | {{ dump(toolResult.toolCall.arguments) }} |
| Result | {{ dump(toolResult.result) }} |
No tool calls were made.