chore: format
This commit is contained in:
parent
d1d94a71b4
commit
57c94e1c02
2 changed files with 4 additions and 2 deletions
|
|
@ -186,7 +186,9 @@ function testLLM(
|
|||
// For Mistral, if no tool calls were received, skip the test
|
||||
// as it may not support forced tool use
|
||||
if (args === "" && llm.constructor.name === "Mistral") {
|
||||
console.log("Mistral did not return tool calls, skipping assertion");
|
||||
console.log(
|
||||
"Mistral did not return tool calls, skipping assertion",
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -200,7 +200,7 @@ export function fromChatCompletionChunk(
|
|||
arguments: (tool_call as any).function?.arguments,
|
||||
},
|
||||
}));
|
||||
|
||||
|
||||
if (toolCalls.length > 0) {
|
||||
return {
|
||||
role: "assistant",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue