We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8edb71 commit 2834bf7Copy full SHA for 2834bf7
internal/config/config.go
@@ -546,7 +546,7 @@ func (c *ProviderConfig) TestConnection(resolver VariableResolver) error {
546
headers := make(map[string]string)
547
apiKey, _ := resolver.ResolveValue(c.APIKey)
548
switch c.Type {
549
- case catwalk.TypeOpenAI, catwalk.TypeOpenAICompat:
+ case catwalk.TypeOpenAI, catwalk.TypeOpenAICompat, catwalk.TypeOpenRouter:
550
baseURL, _ := resolver.ResolveValue(c.BaseURL)
551
if baseURL == "" {
552
baseURL = "https://api.openai.com/v1"
0 commit comments