Skip to content

Commit 45a61a8

Browse files
committed
Fix tests
1 parent 6ab8833 commit 45a61a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/transform/gemini-format.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function convertAnthropicContentToGemini(content: string | Anthropic.ContentBloc
2424
},
2525
}
2626
case "tool_result": {
27-
if (!block.content || !Array.isArray(block.content)) {
27+
if (!block.content) {
2828
return []
2929
}
3030

0 commit comments

Comments
 (0)