Skip to content

Commit 2f9a5a0

Browse files
chore(types): drop retired 'roo' provider from getApiProtocol allowlist
Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 22ea61c commit 2f9a5a0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/types/src/provider-settings.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -585,10 +585,10 @@ export const getApiProtocol = (provider: ProviderName | undefined, modelId?: str
585585
return "anthropic"
586586
}
587587

588-
// Vercel AI Gateway, Zoo Gateway, and Roo use anthropic protocol for anthropic models.
588+
// Vercel AI Gateway and Zoo Gateway use the anthropic protocol for anthropic models.
589589
if (
590590
provider &&
591-
["vercel-ai-gateway", "zoo-gateway", "roo"].includes(provider) &&
591+
["vercel-ai-gateway", "zoo-gateway"].includes(provider) &&
592592
modelId &&
593593
modelId.toLowerCase().startsWith("anthropic/")
594594
) {

0 commit comments

Comments
 (0)