mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-05-22 03:06:54 +00:00
Add Z.AI provider support for general and coding APIs
- Add Z.AI provider with base URL https://api.z.ai/api/paas/v4 - Add Z.AI Coding provider with base URL https://api.z.ai/api/coding/paas/v4 - Both use OpenAI-compatible protocol via LiteLLM Available models: glm-4.6, glm-4.6v (vision), glm-4.5, glm-4.5-air 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
9fe5573c35
commit
079ef0698d
1 changed files with 10 additions and 0 deletions
|
|
@ -84,6 +84,16 @@ chat:
|
|||
xai:
|
||||
name: xAI
|
||||
litellm_provider: xai
|
||||
zai:
|
||||
name: Z.AI
|
||||
litellm_provider: openai
|
||||
kwargs:
|
||||
api_base: https://api.z.ai/api/paas/v4
|
||||
zai_coding:
|
||||
name: Z.AI Coding
|
||||
litellm_provider: openai
|
||||
kwargs:
|
||||
api_base: https://api.z.ai/api/coding/paas/v4
|
||||
other:
|
||||
name: Other OpenAI compatible
|
||||
litellm_provider: openai
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue