|
19 | 19 | (testing "We send a simple hello message" |
20 | 20 | (llm.mocks/set-case! :simple-text-0) |
21 | 21 | (let [resp (eca/request! (fixture/chat-prompt-request |
22 | | - {:model "anthropic/claude-sonnet-4-20250514" |
| 22 | + {:model "anthropic/claude-sonnet-4.5" |
23 | 23 | :message "Tell me a joke!"})) |
24 | 24 | chat-id (reset! chat-id* (:chatId resp))] |
25 | 25 |
|
26 | 26 | (is (match? |
27 | 27 | {:chatId (m/pred string?) |
28 | | - :model "anthropic/claude-sonnet-4-20250514" |
| 28 | + :model "anthropic/claude-sonnet-4.5" |
29 | 29 | :status "prompting"} |
30 | 30 | resp)) |
31 | 31 |
|
|
49 | 49 | (llm.mocks/set-case! :simple-text-1) |
50 | 50 | (let [resp (eca/request! (fixture/chat-prompt-request |
51 | 51 | {:chat-id @chat-id* |
52 | | - :model "anthropic/claude-sonnet-4-20250514" |
| 52 | + :model "anthropic/claude-sonnet-4.5" |
53 | 53 | :message "Who's there?"})) |
54 | 54 | chat-id @chat-id*] |
55 | 55 |
|
56 | 56 | (is (match? |
57 | 57 | {:chatId (m/pred string?) |
58 | | - :model "anthropic/claude-sonnet-4-20250514" |
| 58 | + :model "anthropic/claude-sonnet-4.5" |
59 | 59 | :status "prompting"} |
60 | 60 | resp)) |
61 | 61 |
|
|
78 | 78 | (llm.mocks/set-case! :simple-text-2) |
79 | 79 | (let [resp (eca/request! (fixture/chat-prompt-request |
80 | 80 | {:chat-id @chat-id* |
81 | | - :model "anthropic/claude-sonnet-4-20250514" |
| 81 | + :model "anthropic/claude-sonnet-4.5" |
82 | 82 | :message "What foo?"})) |
83 | 83 | chat-id @chat-id*] |
84 | 84 |
|
85 | 85 | (is (match? |
86 | 86 | {:chatId (m/pred string?) |
87 | | - :model "anthropic/claude-sonnet-4-20250514" |
| 87 | + :model "anthropic/claude-sonnet-4.5" |
88 | 88 | :status "prompting"} |
89 | 89 | resp)) |
90 | 90 |
|
|
117 | 117 | (testing "We send a hello message" |
118 | 118 | (llm.mocks/set-case! :reasoning-0) |
119 | 119 | (let [resp (eca/request! (fixture/chat-prompt-request |
120 | | - {:model "anthropic/claude-sonnet-4-20250514" |
| 120 | + {:model "anthropic/claude-sonnet-4.5" |
121 | 121 | :message "hello!"})) |
122 | 122 | chat-id (reset! chat-id* (:chatId resp))] |
123 | 123 |
|
124 | 124 | (is (match? |
125 | 125 | {:chatId (m/pred string?) |
126 | | - :model "anthropic/claude-sonnet-4-20250514" |
| 126 | + :model "anthropic/claude-sonnet-4.5" |
127 | 127 | :status "prompting"} |
128 | 128 | resp)) |
129 | 129 |
|
|
151 | 151 | (llm.mocks/set-case! :reasoning-1) |
152 | 152 | (let [resp (eca/request! (fixture/chat-prompt-request |
153 | 153 | {:chat-id @chat-id* |
154 | | - :model "anthropic/claude-sonnet-4-20250514" |
| 154 | + :model "anthropic/claude-sonnet-4.5" |
155 | 155 | :message "how are you?"})) |
156 | 156 | chat-id @chat-id*] |
157 | 157 |
|
158 | 158 | (is (match? |
159 | 159 | {:chatId (m/pred string?) |
160 | | - :model "anthropic/claude-sonnet-4-20250514" |
| 160 | + :model "anthropic/claude-sonnet-4.5" |
161 | 161 | :status "prompting"} |
162 | 162 | resp)) |
163 | 163 |
|
|
195 | 195 | (testing "We ask what files LLM see" |
196 | 196 | (llm.mocks/set-case! :tool-calling-0) |
197 | 197 | (let [resp (eca/request! (fixture/chat-prompt-request |
198 | | - {:model "anthropic/claude-sonnet-4-20250514" |
| 198 | + {:model "anthropic/claude-sonnet-4.5" |
199 | 199 | :message "What files you see?"})) |
200 | 200 | chat-id (reset! chat-id* (:chatId resp))] |
201 | 201 |
|
202 | 202 | (is (match? |
203 | 203 | {:chatId (m/pred string?) |
204 | | - :model "anthropic/claude-sonnet-4-20250514" |
| 204 | + :model "anthropic/claude-sonnet-4.5" |
205 | 205 | :status "prompting"} |
206 | 206 | resp)) |
207 | 207 |
|
|
0 commit comments