Skip to content

Commit 23c1442

Browse files
committed
Fix integration tests
1 parent f1c2526 commit 23c1442

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

integration-test/integration/chat/anthropic_test.clj

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,8 @@
180180
{:role "assistant"
181181
:content [{:type "thinking"
182182
:signature "enc-123"
183-
:thinking "I should say hello"}]}
184-
{:role "assistant" :content [{:type "text" :text "hello there!"}]}
183+
:thinking "I should say hello"}
184+
{:type "text" :text "hello there!"}]}
185185
{:role "user" :content [{:type "text" :text "how are you?"}]}]
186186
:system (m/pred vector?)}
187187
(llm.mocks/get-req-body :reasoning-1)))))))
@@ -270,10 +270,9 @@
270270
{:role "assistant"
271271
:content [{:type "thinking"
272272
:signature "enc-123"
273-
:thinking "I should call tool eca__directory_tree"}]}
274-
{:role "assistant" :content [{:type "text" :text "I will list files"}]}
275-
{:role "assistant"
276-
:content [{:type "tool_use"
273+
:thinking "I should call tool eca__directory_tree"}
274+
{:type "text" :text "I will list files"}
275+
{:type "tool_use"
277276
:id "tool-1"
278277
:name "eca__directory_tree"
279278
:input {:path (h/project-path->canon-path "resources")}}]}

0 commit comments

Comments
 (0)