Skip to content

Commit dec03d6

Browse files
committed
chore: upgrade @anthropic-ai/sdk to 0.104.1 and @anthropic-ai/vertex-sdk to 0.17.1
1 parent 6bcd398 commit dec03d6

12 files changed

Lines changed: 144 additions & 125 deletions

‎pnpm-lock.yaml‎

Lines changed: 54 additions & 89 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/api/providers/native-ollama.ts‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,10 @@ function convertToOllamaMessages(anthropicMessages: Anthropic.Messages.MessagePa
6060
}
6161
return "(see following user message for image)"
6262
}
63-
return part.text
63+
if (part.type === "text") {
64+
return part.text
65+
}
66+
return ""
6467
})
6568
.join("\n") ?? ""
6669
}

0 commit comments

Comments
 (0)