mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-10-15 15:30:26 +00:00
feat: support ollama now (close #870)
This commit is contained in:
@@ -69,6 +69,7 @@ const (
|
||||
ChannelTypeMinimax
|
||||
ChannelTypeMistral
|
||||
ChannelTypeGroq
|
||||
ChannelTypeOllama
|
||||
|
||||
ChannelTypeDummy
|
||||
)
|
||||
@@ -104,6 +105,7 @@ var ChannelBaseURLs = []string{
|
||||
"https://api.minimax.chat", // 27
|
||||
"https://api.mistral.ai", // 28
|
||||
"https://api.groq.com/openai", // 29
|
||||
"http://localhost:11434", // 30
|
||||
}
|
||||
|
||||
const (
|
||||
|
Reference in New Issue
Block a user