| 属性 | 值 |
|---|---|
| 提供商 ID | cohere |
| 插件 | 过渡期间内置;官方外部包 |
| 凭证环境变量 | COHERE_API_KEY |
| 新手引导标志 | --auth-choice cohere-api-key |
| 直接 CLI 标志 | --cohere-api-key <key> |
| API | OpenAI 兼容(openai-completions) |
| 基础 URL | https://api.cohere.ai/compatibility/v1 |
| 默认模型 | cohere/command-a-03-2025 |
| 上下文窗口 | 256,000 个 token |
入门指南
- Cohere 随当前 OpenClaw 包一起提供。如果缺失,请安装外部包并重启 Gateway 网关:
- 创建 Cohere API key。
- 运行新手引导:
- 确认可用目录:
仅环境变量设置
让 Gateway 网关进程可以使用COHERE_API_KEY,然后选择 Cohere 模型:
如果 Gateway 网关作为守护进程运行或在 Docker 中运行,请为该服务设置
COHERE_API_KEY。仅在交互式 shell 中导出它,不会让已经运行的 Gateway 网关可用。