mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-11-18 06:03:42 +08:00
✨ feat: Add support for retrieving model list from providers (#188)
* ✨ feat: Add support for retrieving model list from providers * 🔖 chore: Custom channel automatically get the model
This commit is contained in:
@@ -27,6 +27,7 @@ func getConfig() base.ProviderConfig {
|
||||
return base.ProviderConfig{
|
||||
BaseURL: "https://api.groq.com/openai",
|
||||
ChatCompletions: "/v1/chat/completions",
|
||||
ModelList: "/v1/models",
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user