编程 Agent

OpenClaw 接入思畅

本页按官方文档整理,未经思畅实测。

运行 openclaw configure,在 Model 里选 Custom Provider,兼容类型选 OpenAI-compatible;或直接在配置的 models.providers 里加:

{
  models: {
    providers: {
      sichang: {
        baseUrl: "https://sichang.xyz/api/v1",
        apiKey: "<你的 API Key>",
        api: "openai-completions",
        models: [{ id: "<模型 id>", name: "思畅", contextWindow: <模型的上下文长度> }]
      }
    }
  }
}

模型要选支持工具调用的,当前有 gemma-4-uncensored、deepseek-v4-1-flash、olafangensan-glm-4.7-flash-heretic、z-ai/glm-5.3-uncensored;上下文长度见对话模型。