Merge fbdc1d41c7 into fa4d01c23a
This commit is contained in:
commit
e3d86671f2
|
|
@ -9,6 +9,7 @@ from .azure_client import AzureOpenAIClient
|
|||
# Providers that use the OpenAI-compatible chat completions API
|
||||
_OPENAI_COMPATIBLE = (
|
||||
"openai", "xai", "deepseek", "qwen", "glm", "ollama", "openrouter",
|
||||
"minimax",
|
||||
)
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@ _PROVIDER_CONFIG = {
|
|||
"glm": ("https://api.z.ai/api/paas/v4/", "ZHIPU_API_KEY"),
|
||||
"openrouter": ("https://openrouter.ai/api/v1", "OPENROUTER_API_KEY"),
|
||||
"ollama": ("http://localhost:11434/v1", None),
|
||||
"minimax": ("https://api.minimaxi.com/v1", "MINIMAX_CN_API_KEY"),
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue