on main help sign in
fix: accept both keys for google vertex
commit5e1c63f54bbe7f07fe8b70ca727dbc185cafe572 authorAndrey Nering <andreynering@users.noreply.github.com> dateThu 23 Oct 2025, 14:00 (1 year ago) parent84cd37f
1 file changed+1−1
internal/agent/coordinator.go+1−1
internal/agent/coordinator.go+1−1
@@ -601,7 +601,7 @@ func (c *coordinator) buildProvider(providerCfg config.ProviderConfig, model con
601601 return c.buildAzureProvider(baseURL, apiKey, headers, providerCfg.ExtraParams)
602602 case google.Name:
603603 return c.buildGoogleProvider(baseURL, apiKey, headers)
604− case "vertexai":
604+ case "google-vertex", "vertexai":
605605 return c.buildGoogleVertexProvider(headers, providerCfg.ExtraParams)
606606 case openaicompat.Name:
607607 return c.buildOpenaiCompatProvider(baseURL, apiKey, headers)