Files
bot/docs/zh-CN/providers/glm.md
zeekay 08582cc303 Rebrand OpenClaw → Hanzo Bot across entire codebase
Complete rename of all OpenClaw/OPENCLAW/openclaw references to
Hanzo Bot/BOT/bot naming convention:

- Env vars: OPENCLAW_* → BOT_* (18 patterns)
- Config: ~/.openclaw/ → ~/.bot/, openclaw.json → bot.json
- Packages: @openclaw/* → @hanzo/bot-*
- Domains: openclaw.ai → hanzo.bot
- Mobile: OpenClawKit → BotKit, bundle IDs ai.openclaw → ai.hanzo.bot
- mDNS: _openclaw-gw._tcp → _bot-gw._tcp
- Docker: CMD hanzo-bot.mjs, BOT_PREFER_PNPM, BOT_DOCKER_APT_PACKAGES
- CI: docker-release.yml adds :latest tag on main branch
2026-02-11 11:13:08 -08:00

1.0 KiB

read_when, summary, title, x-i18n
read_when summary title x-i18n
你想在 Hanzo Bot 中使用 GLM 模型
你需要了解模型命名规范和设置方法
GLM 模型系列概述 + 如何在 Hanzo Bot 中使用 GLM 模型
generated_at model provider source_hash source_path workflow
2026-02-01T21:34:53Z claude-opus-4-5 pi 2d7b457f033f26f28c230a9cd2310151f825fc52c3ee4fb814d08fd2d022d041 providers/glm.md 15

GLM 模型

GLM 是一个模型系列(而非公司),通过 Z.AI 平台提供。在 Hanzo Bot 中,GLM 模型通过 zai 提供商访问,模型 ID 格式如 zai/glm-4.7。

CLI 设置

hanzo-bot onboard --auth-choice zai-api-key

配置片段

{
  env: { ZAI_API_KEY: "sk-..." },
  agents: { defaults: { model: { primary: "zai/glm-4.7" } } },
}

注意事项

  • GLM 版本和可用性可能会变化;请查阅 Z.AI 的文档获取最新信息。
  • 示例模型 ID 包括 glm-4.7 和 glm-4.6。
  • 有关提供商的详细信息,请参阅 /providers/zai。