feat(models): add glm-5, glm-4.7 from zhipu API (with code plan supoort) (#19)

* feat(models): add glm-5, glm-4.7 from zhipu API (with code plan supoort)

* fix: add zhipu and zhipu-code to valid providers in test
This commit is contained in:
Xiaohui Yan
2026-03-06 16:57:33 +08:00
committed by GitHub
parent 5f2d963a97
commit b14dceb143
9 changed files with 1100 additions and 99 deletions
+10
View File
@@ -6,5 +6,15 @@ OPENAI_API_KEY= # platform.openai.com
GOOGLE_API_KEY= # aistudio.google.com/api-keys
NVIDIA_API_KEY= # build.nvidia.com
# Third-party providers (optional)
SILICONFLOW_API_KEY= # siliconflow.cn
OPENROUTER_API_KEY= # openrouter.ai
ZHIPU_API_KEY= # open.bigmodel.cn
CUSTOM_API_KEY= # Your custom OpenAI-compatible endpoint
CUSTOM_BASE_URL= # Your custom API base URL (optional)
# Local models (optional)
OLLAMA_BASE_URL= # http://localhost:11434 (default)
# Web search (optional)
TAVILY_API_KEY= # app.tavily.com