Changesets · Branches · Tags · Compare
| Changeset | 9a76840d7230ffcc7b4ef0fa1044ee42df9c7d3afda819a509b87520123885bf |
|---|---|
| Author | Nate <sestinj@gmail.com> · 2025-08-21 10:16 -07:00 |
| Committer | Nate <sestinj@gmail.com> · 2025-08-21 10:16 -07:00 |
| Parents | 1a838256a3a8 |
2 files changed
modified core/llm/llm.test.ts +3 −1
| @@ -186,7 +186,9 @@ | ||
| 186 | 186 | // For Mistral, if no tool calls were received, skip the test |
| 187 | 187 | // as it may not support forced tool use |
| 188 | 188 | if (args === "" && llm.constructor.name === "Mistral") { |
| 189 | - console.log("Mistral did not return tool calls, skipping assertion"); | |
| 189 | + console.log( | |
| 190 | + "Mistral did not return tool calls, skipping assertion", | |
| 191 | + ); | |
| 190 | 192 | return; |
| 191 | 193 | } |
| 192 | 194 |
modified core/llm/openaiTypeConverters.ts +1 −1
| @@ -200,7 +200,7 @@ | ||
| 200 | 200 | arguments: (tool_call as any).function?.arguments, |
| 201 | 201 | }, |
| 202 | 202 | })); |
| 203 | - | |
| 203 | + | |
| 204 | 204 | if (toolCalls.length > 0) { |
| 205 | 205 | return { |
| 206 | 206 | role: "assistant", |