This repository was archived by the owner on Jul 16, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1111 ],
1212 "require" : {
1313 "php" : " >=8.2" ,
14- "php-llm/llm-chain" : " ^0.9.3 || ^0.10.0 " ,
14+ "php-llm/llm-chain" : " ^0.11 " ,
1515 "symfony/config" : " ^6.4 || ^7.0" ,
1616 "symfony/dependency-injection" : " ^6.4 || ^7.0" ,
1717 "symfony/framework-bundle" : " ^6.4 || ^7.0"
Original file line number Diff line number Diff line change 101101 <tr >
102102 <th >Input</th >
103103 <td >
104- {% if call .input is iterable %}{# expect MessageBag #}
104+ {% if call .input . messages is defined %}{# expect MessageBag #}
105105 <ol >
106- {% for message in call .input %}
106+ {% for message in call .input . messages %}
107107 <li >
108108 <strong >{{ message .role .value | title }}:</strong >
109109 {% if ' assistant' == message .role .value and message .hasToolCalls%}
153153 <tr >
154154 <th >Response</th >
155155 <td >
156- {% if call .input is iterable and call .response .content is iterable %}{# expect array of ToolCall #}
156+ {% if call .input . messages is defined and call .response .content is iterable %}{# expect array of ToolCall #}
157157 {{ _self.tool_calls (call .response .content ) }}
158158 {% elseif call .response .content is iterable %}{# expect array of Vectors #}
159159 <ol >
You can’t perform that action at this time.
0 commit comments