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.
This commit is contained in:
Hans Cho 2026-01-30 11:45:28 -05:00
parent 09be5d45d5
commit a7cd69f0ab

View File

@ -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.