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:
parent
09be5d45d5
commit
a7cd69f0ab
@ -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.
|
- Override pricing and context metadata in `models.providers` if needed.
|
||||||
- If Moonshot publishes different context limits for a model, adjust
|
- If Moonshot publishes different context limits for a model, adjust
|
||||||
`contextWindow` accordingly.
|
`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.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user