This commit is contained in:
Jubeing 2026-04-20 01:21:01 +08:00 committed by GitHub
commit e3d86671f2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View File

@ -9,6 +9,7 @@ from .azure_client import AzureOpenAIClient
# Providers that use the OpenAI-compatible chat completions API # Providers that use the OpenAI-compatible chat completions API
_OPENAI_COMPATIBLE = ( _OPENAI_COMPATIBLE = (
"openai", "xai", "deepseek", "qwen", "glm", "ollama", "openrouter", "openai", "xai", "deepseek", "qwen", "glm", "ollama", "openrouter",
"minimax",
) )

View File

@ -32,6 +32,7 @@ _PROVIDER_CONFIG = {
"glm": ("https://api.z.ai/api/paas/v4/", "ZHIPU_API_KEY"), "glm": ("https://api.z.ai/api/paas/v4/", "ZHIPU_API_KEY"),
"openrouter": ("https://openrouter.ai/api/v1", "OPENROUTER_API_KEY"), "openrouter": ("https://openrouter.ai/api/v1", "OPENROUTER_API_KEY"),
"ollama": ("http://localhost:11434/v1", None), "ollama": ("http://localhost:11434/v1", None),
"minimax": ("https://api.minimaxi.com/v1", "MINIMAX_CN_API_KEY"),
} }