sync(providers): mirror cp serving-url fixes (kimi-coding /v1 + gemini api-key base_url) #2103

Merged
core-be merged 1 commits from sync/providers-serving-urls into main 2026-06-01 18:06:13 +00:00
2 changed files with 4 additions and 4 deletions
@@ -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
@@ -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)