Skip to content

[BUG] Z.ai Provider does not show general API endpoint (only has coding plan endpoints) #9879

@richtong

Description

@richtong

Problem (one or two sentences)

In current v0.36.2, in the Z.ai Entryppoint, the only two that appear

What is missing are the endpoints for API billing; this added in #8001 but the regular API points are not available. Since we are using API billing, we need these endpoints as well:

Context (who is affected and when)

Anyone using Z.ai provider who is using API and not their Coding plan

Reproduction steps

  1. Environment. MacOS, VSCode, Roo Code
  2. Create a configuration using API Provider Z.ai
  3. Try to select the A ZI Entrypoint

Note that the API Entry points are not there

Image

Expected result

Expect to see International API https://api.z.ai/api/paas/v4

Actual result

There is no such endpoint

Variations tried (optional)

No response

App Version

Roo code 0.36.2

API Provider (optional)

Not Applicable / Other

Model Used (optional)

Z.ai GLM 4.6

Roo Code Task Links (optional)

No response

Relevant logs or errors (optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue/PR - TriageNew issue. Needs quick review to confirm validity and assign labels.bugSomething isn't working

    Type

    No type

    Projects

    Status

    Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions