Skip to content

Commit 5cbc854

Browse files
committed
refactor: simplify gateway to anthropic, openai, google, xai only
Remove bedrock from supported gateway providers due to its complex AWS credential-based authentication, which doesn't fit the simple API key routing model of the gateway.
1 parent 52c7535 commit 5cbc854

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/browser/hooks/useGatewayModels.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@ const GATEWAY_AVAILABLE_KEY = "gateway-available";
1313
* Excluded:
1414
* - ollama: Local-only provider, not routable through cloud gateway
1515
* - openrouter: Already a gateway/aggregator, routing through another gateway is redundant
16+
* - bedrock: Complex auth (AWS credentials), not simple API key routing
1617
* - mux-gateway: Already gateway format
1718
*/
18-
const GATEWAY_SUPPORTED_PROVIDERS = new Set(["anthropic", "openai", "google", "xai", "bedrock"]);
19+
const GATEWAY_SUPPORTED_PROVIDERS = new Set(["anthropic", "openai", "google", "xai"]);
1920

2021
/**
2122
* Check if a model's provider is supported by Mux Gateway.

0 commit comments

Comments
 (0)