🔖 chore: Moonshot supports getting a list of models from the API

This commit is contained in:
MartialBE
2024-05-26 19:55:14 +08:00
parent 3282255cac
commit fa54ca7b50
2 changed files with 4 additions and 0 deletions

View File

@@ -28,6 +28,7 @@ func getMoonshotConfig() base.ProviderConfig {
return base.ProviderConfig{
BaseURL: "https://api.moonshot.cn",
ChatCompletions: "/v1/chat/completions",
ModelList: "/v1/models",
}
}