Continue / Cline 配置指南

Continue 和 Cline 是主流的 VS Code AI 编程插件,均支持 Anthropic 兼容接口。

Continue 配置

安装

在 VS Code 扩展市场搜索「Continue」安装。

配置 config.ts

打开 Continue 配置文件(~/.continue/config.ts),添加 Inkess 作为模型提供商:

import type { Config } from "@continuedev/config-types";

const config: Config = {
  models: [
    {
      title: "Inkess Claude Sonnet",
      provider: "anthropic",
      model: "claude-sonnet-4-5",
      apiKey: "your-token-here",
      apiBase: "https://llm.starapp.net/api/llm",
    },
    {
      title: "Inkess Claude Haiku",
      provider: "anthropic",
      model: "claude-haiku-4-5",
      apiKey: "your-token-here",
      apiBase: "https://llm.starapp.net/api/llm",
    },
  ],
  // ... 其他配置
};

export default config;

也可以使用 JSON 格式(~/.continue/config.json):

{
  "models": [
    {
      "title": "Inkess Claude Sonnet",
      "provider": "anthropic",
      "model": "claude-sonnet-4-5",
      "apiKey": "your-token-here",
      "apiBase": "https://llm.starapp.net/api/llm"
    }
  ]
}

Cline 配置

安装

在 VS Code 扩展市场搜索「Cline」安装。

配置步骤

  1. 点击 VS Code 侧边栏的 Cline 图标
  2. 在「API Provider」下拉框中选择「Anthropic
  3. 填写配置:
字段 填写内容
API Key 您的 Token(ik-...
Base URL https://llm.starapp.net/api/llm
Model claude-sonnet-4-5
  1. 点击保存

注意事项

  • Anthropic 兼容接口的 Base URL 为 https://llm.starapp.net/api/llm(无 /v1,SDK 自动追加)
  • 可用模型 ID 列表见模型列表
  • 建议使用 claude-sonnet-4-5claude-haiku-4-5 作为默认模型(速度快、价格合理)