From a7cd69f0aba50729a4a024d2b6577b303053f21a Mon Sep 17 00:00:00 2001 From: Hans Cho Date: Fri, 30 Jan 2026 11:45:28 -0500 Subject: [PATCH] docs: fix Moonshot API endpoint documentation The documentation incorrectly suggested using api.moonshot.cn as an alternative China endpoint. Testing shows this endpoint returns 401 Invalid Authentication errors even with valid API keys. The correct global endpoint is api.moonshot.ai/v1, which is already used in the source code (src/agents/models-config.providers.ts). Updated the docs to reflect this and removed the misleading note about the .cn endpoint to prevent user confusion. --- docs/providers/moonshot.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/providers/moonshot.md b/docs/providers/moonshot.md index 9824beee7..844ca5cba 100644 --- a/docs/providers/moonshot.md +++ b/docs/providers/moonshot.md @@ -159,4 +159,4 @@ Note: Moonshot and Kimi Code are separate providers. Keys are not interchangeabl - Override pricing and context metadata in `models.providers` if needed. - If Moonshot publishes different context limits for a model, adjust `contextWindow` accordingly. -- Use `https://api.moonshot.cn/v1` if you need the China endpoint. +- The global endpoint is `https://api.moonshot.ai/v1`. Use this for all regions.