|
199 | 199 | (match-content chat-id "system" {:type "progress" :state "running" :text "Generating"}) |
200 | 200 | (match-content chat-id "assistant" {:type "reasonStarted" :id (m/pred string?)}) |
201 | 201 | (match-content chat-id "assistant" {:type "reasonText" :id (m/pred string?) :text "I should call tool"}) |
202 | | - (match-content chat-id "assistant" {:type "reasonText" :id (m/pred string?) :text " eca_directory_tree"}) |
| 202 | + (match-content chat-id "assistant" {:type "reasonText" :id (m/pred string?) :text " eca__eca_directory_tree"}) |
203 | 203 | (match-content chat-id "assistant" {:type "reasonFinished" :id (m/pred string?) :totalTimeMs (m/pred number?)}) |
204 | 204 | (match-content chat-id "assistant" {:type "text" :text "I will list files"}) |
205 | 205 | (match-content chat-id "assistant" {:type "toolCallPrepare" |
|
266 | 266 | {:role "assistant" |
267 | 267 | :content [{:type "thinking" |
268 | 268 | :signature "enc-123" |
269 | | - :thinking "I should call tool eca_directory_tree"}]} |
| 269 | + :thinking "I should call tool eca__eca_directory_tree"}]} |
270 | 270 | {:role "assistant" :content [{:type "text" :text "I will list files"}]} |
271 | 271 | {:role "assistant" |
272 | 272 | :content [{:type "tool_use" |
273 | 273 | :id "tool-1" |
274 | | - :name "eca_directory_tree" |
| 274 | + :name "eca__eca_directory_tree" |
275 | 275 | :input {:path (h/project-path->canon-path "resources")}}]} |
276 | 276 | {:role "user" |
277 | 277 | :content [{:type "tool_result" |
278 | 278 | :tool_use_id "tool-1" |
279 | 279 | :content (str "[FILE] " (h/project-path->canon-path "resources/file1.md\n") |
280 | 280 | "[FILE] " (h/project-path->canon-path "resources/file2.md\n\n"))}]}] |
281 | 281 | :tools (m/embeds |
282 | | - [{:name "eca_directory_tree"}]) |
| 282 | + [{:name "eca__eca_directory_tree"}]) |
283 | 283 | :system (m/pred vector?)} |
284 | 284 | llm.mocks/*last-req-body*)))))) |
0 commit comments