mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-11-16 13:13:41 +08:00
🔖 chore: Moonshot supports getting a list of models from the API
This commit is contained in:
@@ -28,6 +28,7 @@ func getMoonshotConfig() base.ProviderConfig {
|
||||
return base.ProviderConfig{
|
||||
BaseURL: "https://api.moonshot.cn",
|
||||
ChatCompletions: "/v1/chat/completions",
|
||||
ModelList: "/v1/models",
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user