mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-13 11:00:50 +00:00
1.0 KiB
1.0 KiB
read_when, summary, title, x-i18n
| read_when | summary | title | x-i18n | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
GLM 模型系列概述 + 如何在 OpenClaw 中使用 | GLM 模型 |
|
GLM 模型
GLM 是一个模型系列(而非公司),通过 Z.AI 平台提供。在 OpenClaw 中,GLM 模型通过 zai 提供商访问,模型 ID 格式如 zai/glm-4.7。
CLI 设置
openclaw 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。