openfang icon indicating copy to clipboard operation
openfang copied to clipboard

Support for GLM-4.7 (Z.AI) in OpenFang

Open 3tallah opened this issue 8 months ago • 1 comments

Description

Feature Request: Add support for GLM-4.7 (Z.AI) as a provider in OpenFang.

What feature would you like?

  • Native integration of GLM-4.7 for agent LLMs.
  • Ability to configure API keys and model parameters directly in OpenFang.
  • Full compatibility with existing agents, workflows, and event system.

Why it would be useful:

  • Many users rely on GLM-4.7 (Z.AI)
  • Currently, OpenFang does not support this model, preventing migration from OpenClaw for GLM-4.7 users.
  • Adds flexibility and broader adoption for enterprise and research use cases.

Alternatives Considered

No response

Additional Context

No response

3tallah avatar Mar 11 '26 19:03 3tallah

GLM-4.7 models are already in the catalog. Set ZHIPU_API_KEY in your environment, then use model = "glm-4.7" in agent manifests or the /model chat command. GLM-4.7 Coding is also available as "glm-4.7-coding" via the zai_coding provider. Check GET /api/models or the /models chat command for the full list of available models.

jaberjaber23 avatar Mar 12 '26 15:03 jaberjaber23