on main help sign in
fix: fix google vertex key
47fe8fcAndrey Nering
internal/agent/coordinator.go+1−1
@@ -587,7 +587,7 @@ func (c *coordinator) buildProvider(providerCfg config.ProviderConfig, model con
587 case google.Name:
587 case google.Name:
588 provider = c.buildGoogleProvider(baseURL, apiKey, headers)
588 provider = c.buildGoogleProvider(baseURL, apiKey, headers)
589 // this is not in fantasy since its just the google provider with extra stuff
589 // this is not in fantasy since its just the google provider with extra stuff
590− case "google-vertex":
590+ case "vertexai":
591 provider = c.buildGoogleVertexProvider(headers, providerCfg.ExtraParams)
591 provider = c.buildGoogleVertexProvider(headers, providerCfg.ExtraParams)
592 case openaicompat.Name:
592 case openaicompat.Name:
593 provider = c.buildOpenaiCompatProvider(baseURL, apiKey, headers)
593 provider = c.buildOpenaiCompatProvider(baseURL, apiKey, headers)