continuedev / continuedev/continue
Error: GLM 5.2 - 502
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 36k
- Forks
- 5.4k
- PR merge metrics
- No merged PRs in 30d
Description
Error Details
Model: GLM 5.2
Provider: openai
Status Code: 502
Error Output
502 All variants failed with errors: glm-5.2: All model providers failed to infer with errors: ollama1: Inference stream closed due to error from openai server: Invalid status code: 400 Bad Request: {"error":{"code":"1214","message":"The messages parameter is illegal. Please check the documentation."}}, zai: Inference stream closed due to error from openai server: Invalid status code: 400 Bad Request: {"error":{"code":"1214","message":"The messages parameter is illegal. Please check the documentation."}}
Additional Context
Please add any additional context about the error here
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the GLM 5.2 request through the openai provider and inspect the reported 400 response, especially the illegal messages parameter. Compare the request with the provider documentation and determine the expected message shape; done means the request no longer returns the 502 error.
Written by the indexing model from the issue text.
Assessment
- Domain
- ai, api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100