chatbox icon indicating copy to clipboard operation
chatbox copied to clipboard

Z.ai Coding Plan error

Open hbuddenberg opened this issue 8 months ago • 3 comments

I have the same incident using https://api.z.ai/api/coding/paas/v4/chat/completions, I attach images. If I use it in compatibility mode, it shows ok, but it does not make a call, in case of not using the compatibility mode it says that the token is expired, which is not true since I tried it in curl.

Image Image Image

Originally posted by @hbuddenberg in #3052

hbuddenberg avatar Mar 14 '26 02:03 hbuddenberg

Try setting the API Host to https://api.z.ai/api/paas/v4/ and the API Path to chat/completions

Andy115951 avatar Mar 16 '26 07:03 Andy115951

image

Works again!!

hbuddenberg avatar Mar 26 '26 02:03 hbuddenberg

Hi, how to avoid appending v1/xxx ? My config looks like:

Image

sheep94lion avatar Apr 16 '26 01:04 sheep94lion