集成

快速配置你常用的 AI 编程工具——从 CLI 编程代理到 IDE 插件,几步即可接入 WisGate 模型。

Claude Desktop

Anthropic 官方桌面客户端,支持 WisGate 作为 Anthropic 兼容端点。

Claude Desktop

Claude Desktop 支持第三方推理网关。对于 Anthropic Messages 兼容模型,可以通过 Gateway 配置接入 WisGate。

一、安装 Claude Desktop

访问 Anthropic 官网下载并安装 Claude Desktop。安装完成后启动应用。

二、启用 Developer Mode

  1. 打开 Claude Desktop
  2. 进入 Help > Troubleshooting
  3. 点击 Enable Developer Mode
  4. 启用后,菜单栏会出现 Developer 菜单

三、配置第三方推理网关

进入 Developer > Configure Third-Party Inference...,选择 Gateway / Anthropic-compatible 后填写:

  • Gateway base URLhttps://api.wisgate.cn
  • Gateway API key:您的 WisGate API Key
  • Gateway auth schemebearer

如果界面要求填写完整 Messages API 地址,而不是 Base URL,请填写:

https://api.wisgate.cn/v1/messages

保存后完全退出 Claude Desktop,再重新打开。

四、选择模型并使用

重新启动后,在启动页选择 Gateway 或本地配置入口。进入 Claude Desktop 后,在模型选择器中选择可用的 Anthropic 兼容模型。

使用场景

  • 桌面端对话:在 Claude Desktop 中通过 WisGate 使用 Claude 系列或 Anthropic Messages 兼容模型。
  • 团队统一网关:统一 API Key 和模型访问入口。
  • MCP 工具使用:结合 Claude Desktop 的 MCP 能力连接本地工具和外部服务。

常见问题

Gateway 入口没有出现

请确认已经启用 Developer Mode,并完全退出后重新打开 Claude Desktop。

连接失败

请确认 Base URL 为 https://api.wisgate.cn,auth scheme 为 bearer,API Key 正确。如果界面要求完整地址,请使用 https://api.wisgate.cn/v1/messages