We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f882488 commit 2d12e99Copy full SHA for 2d12e99
1 file changed
crates/oai-runner/src/config.rs
@@ -59,7 +59,7 @@ fn infer_api_base(normalized_model: &str) -> Result<String> {
59
return Ok("https://openrouter.ai/api/v1".to_string());
60
}
61
if normalized_model.starts_with("kimi/") || normalized_model.starts_with("moonshot/") || normalized_model.contains("kimi") {
62
- return Ok("https://api.moonshot.cn/v1".to_string());
+ return Ok("https://api.moonshot.ai/v1".to_string());
63
64
if normalized_model.starts_with("groq/") || normalized_model.contains("groq") {
65
return Ok("https://api.groq.com/openai/v1".to_string());
0 commit comments