fix: include api.moonshot.cn in public API temperature override (#12745)
kimi-k2.5 on api.moonshot.cn/v1 rejects temperature=0.6 with HTTP 400, same as api.moonshot.ai. The public API check now matches both domains.
This commit is contained in:
@@ -845,6 +845,8 @@ class TestKimiForCodingTemperature:
|
||||
"https://api.moonshot.ai/v1",
|
||||
"https://api.moonshot.ai/v1/",
|
||||
"https://API.MOONSHOT.AI/v1",
|
||||
"https://api.moonshot.cn/v1",
|
||||
"https://api.moonshot.cn/v1/",
|
||||
],
|
||||
)
|
||||
def test_kimi_k2_5_public_api_forces_temperature_1(self, base_url):
|
||||
|
||||
Reference in New Issue
Block a user