We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ab8833 commit 45a61a8Copy full SHA for 45a61a8
src/api/transform/gemini-format.ts
@@ -24,7 +24,7 @@ function convertAnthropicContentToGemini(content: string | Anthropic.ContentBloc
24
},
25
}
26
case "tool_result": {
27
- if (!block.content || !Array.isArray(block.content)) {
+ if (!block.content) {
28
return []
29
30
0 commit comments