Add Z.ai Coding Plan routing - #1074
Conversation
There was a problem hiding this comment.
Devin Review found 1 potential issue.
2 flags not posted on this PR by your GitHub settings — view them in Devin Review. (Configure)
|
Thermo-nuclear review at exact head
The cleaner shape is to keep this PR about Z.AI routing, represent endpoint/key origin explicitly per field, and split the unrelated generic generation-override mechanism unless it is backed by provider/model capability metadata. That removes magic inference instead of adding more special cases. The live Z.AI credential reached the Coding endpoint but returned quota-exhausted HTTP 429, so authentication/endpoint acceptance is established but a successful end-to-end completion is not. Also, this PR still targets the open |
|
@bingran-you Addressed review findings at |
|
Thermo-nuclear exact-head follow-up at The current implementation now has explicit per-field endpoint/key provenance, advertises only the current GLM-5.3 Coding Plan models, keeps the LiteLLM route on the Coding endpoint across agent protocols and reconnects, and removes the unrelated generic generation overrides. Validation passed locally: 419 focused tests, full suite Two merge gates remain:
After #1030 lands, retarget/refresh this branch onto |
|
@bingran-you Refreshed onto main at e88df27. Z.AI/ClawsBench validation completed; all applicable CI checks pass. Exact-head review found no blockers. |
|
Post-merge thermo-nuclear verification for exact PR head The head change from the previously reviewed Cross-feature real-backend smokes on the merged tree passed:
The successful Z.AI Coding Plan completion requested in the prior review is still not established: the only supplied Z.AI key remains quota-exhausted until its stated reset. This PR was merged before that real-provider gate cleared, so I will retry the Z.AI route against merged |
|
Post-reset provider verification on 2026-09-05 at 05:26 UTC: one minimal request using the supplied credential was sent directly to |
Summary
Validation
Review
This PR is intentionally stacked on #1030. After #1030 merges, retarget to main and verify final diff.
Maintainer or other-person review required. Author will not self-merge.