You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Custom OpenAI-compatible provider hardcodes /v1/chat/completions, incompatible with Z.ai (/v4/chat/completions) #3040
When I enter https://api.z.ai/api/paas/v4 as the Endpoint, Test Connection fails with:
Model not found: {"timestamp":"2026-09-21T16:05:33.970+00:00","status":404,"error":"Not Found","path":"/v4/v1/chat/completions"}
The resulting request path is /v4/v1/chat/completions, which suggests TablePro's Custom provider always appends a hardcoded /v1/chat/completions suffix to whatever Endpoint is entered. Since Z.ai's actual chat completions path is versioned as /v4/chat/completions (not /v1/), there's no Endpoint value that produces a correct URL — the app always adds an extra /v1 segment.
Proposed solution
Add an option to specify the full completions path directly.
Activity