diff --git a/workspace-server/internal/providers/providers.yaml b/workspace-server/internal/providers/providers.yaml index 187c51080..5035bfa3f 100644 --- a/workspace-server/internal/providers/providers.yaml +++ b/workspace-server/internal/providers/providers.yaml @@ -348,8 +348,8 @@ providers: vendor_logo: "moonshot" protocol: anthropic auth_mode: third_party_anthropic_compat - base_url_template: "https://api.kimi.com/coding/" - base_url_anthropic: "https://api.kimi.com/coding/" + base_url_template: "https://api.kimi.com/coding/v1" + base_url_anthropic: "https://api.kimi.com/coding/v1" auth_env: [KIMI_API_KEY, ANTHROPIC_API_KEY, ANTHROPIC_AUTH_TOKEN] # x-api-key header (NOT bearer) per kimi.com's Claude Code integration doc. auth_token_env: ANTHROPIC_API_KEY @@ -403,7 +403,7 @@ providers: vendor_logo: "google" protocol: openai auth_mode: third_party_anthropic_compat - base_url_template: null + base_url_template: "https://generativelanguage.googleapis.com/v1beta/openai" base_url_anthropic: null auth_env: [GEMINI_API_KEY, GOOGLE_API_KEY] auth_token_env: ANTHROPIC_AUTH_TOKEN diff --git a/workspace-server/internal/providers/sync_canonical_test.go b/workspace-server/internal/providers/sync_canonical_test.go index 2125cdce5..56acff2e0 100644 --- a/workspace-server/internal/providers/sync_canonical_test.go +++ b/workspace-server/internal/providers/sync_canonical_test.go @@ -29,7 +29,7 @@ import ( // canonicalProvidersYAMLSHA256 is the sha256 of the canonical providers.yaml as // synced from molecule-controlplane. Bumped deliberately on each re-sync (see // file doc). Cross-checked live by the sync-providers-yaml CI workflow. -const canonicalProvidersYAMLSHA256 = "21499ff6c6ff33e4145a27b976a11b3deda2c74b4548360906c8d52cc1a2df5f" +const canonicalProvidersYAMLSHA256 = "dec73199e26cee2d395a0acece99771618d3879dc5ca724ba57cb5b38079c6ce" func TestSyncedYAMLMatchesCanonicalSHA(t *testing.T) { sum := sha256.Sum256(embeddedYAML)