Skip to content

Change Z.AI endpoint to use https://api.z.ai/api/coding/paas/v4 #7895

@dmarkey

Description

@dmarkey

App Version

3.28.0

API Provider

Not Applicable / Other

Model Used

GLM 4.5

Roo Code Task Links (Optional)

No response

🔁 Steps to Reproduce

The normal endpoint produces very bad results in Roo-Code

https://api.z.ai/api/coding/paas/v4 has better tool-calling etc, and is explicitly documented by z.ai here: https://docs.z.ai/scenario-example/develop-tools/roo

💥 Outcome Summary

GLM 4.5 model should behave when calling tools.

📄 Relevant Logs or Errors (Optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue - In ProgressSomeone is actively working on this. Should link to a PR soon.bugSomething isn't workingenhancementNew feature or request

    Type

    No type

    Projects

    Status

    Issue [In Progress]

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions