mirror of
https://github.com/anomalyco/opencode.git
synced 2026-04-24 06:45:22 +00:00
fix: azure now uses azure key instead of openai in ai sdk v6: https://ai-sdk.dev/docs/migration-guides/migration-guide-6-0#responses-api-providermetadata-and-provideroptions-key
This commit is contained in:
@@ -25,8 +25,9 @@ export namespace ProviderTransform {
|
||||
switch (npm) {
|
||||
case "@ai-sdk/github-copilot":
|
||||
return "copilot"
|
||||
case "@ai-sdk/openai":
|
||||
case "@ai-sdk/azure":
|
||||
return "azure"
|
||||
case "@ai-sdk/openai":
|
||||
return "openai"
|
||||
case "@ai-sdk/amazon-bedrock":
|
||||
return "bedrock"
|
||||
|
||||
Reference in New Issue
Block a user