fix: gemini response format
This commit is contained in:
@@ -42,6 +42,7 @@ export function lenientParseMacroToolCall(
|
||||
// check
|
||||
switch (choice.finish_reason) {
|
||||
case 'tool_calls':
|
||||
case 'function_call': // gemini
|
||||
case 'stop': // will try a robust parse
|
||||
// ✅ Normal
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user