Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion agent/auxiliary_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -4769,7 +4769,8 @@ def _finalize(resolved_provider: str, sync_client: Any, default_model: Optional[
# while the OpenAI wire handles it correctly.
if requested == "zai" and not resolved_base_url:
zai_openai_urls = [
"https://open.bigmodel.cn/api/paas/v4",
"https://api.z.ai/api/coding/paas/v4", # coding-plan quota
"https://open.bigmodel.cn/api/paas/v4", # metered fallthrough
"https://api.z.ai/api/paas/v4",
]
for _zai_url in zai_openai_urls:
Expand Down
Loading