Cline 是 VS Code 的 AI 编程助手插件。接入 BetterToken 时,请选择 OpenAI Compatible 提供商,并使用 Codex 分组模型 ID。Documentation Index
Fetch the complete documentation index at: https://docs.bettertoken.ai/llms.txt
Use this file to discover all available pages before exploring further.
前置条件
- 已安装 VS Code
- 已获取 BetterToken API Key(注册并获取 (
https://www.bettertoken.ai/register))
安装 Cline
打开 VS Code,在扩展市场搜索 Cline,点击 Install 安装。配置步骤
配置 API 提供商
按以下方式填写:
- API Provider →
OpenAI Compatible - Base URL →
https://www.bettertoken.ai/v1 - API Key → 你的 BetterToken API Key
- Model → 从模型广场 (
https://www.bettertoken.ai/pricing)复制的 Codex 分组模型 ID
仅在官方文档明确要求时再配置额外 headers
我们查到的 Cline 官方 OpenAI Compatible 接入文档默认只要求
Base URL、API Key 和模型 ID。接入 BetterToken 时通常不需要额外设置 User-Agent。如果你还接了自定义网关、租户路由或审计服务,再按对应上游服务的官方文档补充所需 headers。优先检查
Base URL、API Key、模型 ID 和工具版本;不要默认把 User-Agent 当作 BetterToken 必填项。