Anthropic + OpenAI手动配置
Continue.dev
Continue.dev: hướng dẫn kết nối tiện ích lập trình với nhà cung cấp tùy chỉnh.
已发布的配置说明 · 应用版本:未验证
聊天、ping、invoke 和内容生成示例可能发送真实计费请求。运行前请核对模型、余额、单价和最低费用。GET /v1/models 仅检查认证和模型目录。 安全设置环境变量
需粘贴的基础 URL
OpenAI SDK 通常使用以 /v1 结尾的 URL;Anthropic SDK 使用根 URL。避免重复添加 /v1。协议兼容不代表支持供应商的所有功能。
见备注 / 视协议而定该应用存在特殊说明 — 粘贴前请阅读下方注意事项。
准备工作
- Cài Continue
- API key
推荐模型: claude-fable-5
快速上手 — 命令 / 配置
name: API Stack
version: 1.0.0
schema: v1
models:
- name: Claude Fable 5
provider: anthropic
model: claude-fable-5
apiKey: sk-stk-...
apiBase: https://apistack.vn
roles: [chat, edit, apply]
- name: GPT 5.6 Sol
provider: openai
model: gpt-5.6-sol
apiKey: sk-stk-...
apiBase: https://apistack.vn/v1
roles: [chat]配置文件路径 / Settings 填写位置
Filemacos
~/.continue/config.yaml
File mới dùng toàn bộ mẫu gồm name, version, schema. File đang dùng: giữ các trường root và ghép các entry vào models; khởi động lại Continue.
Filelinux
~/.continue/config.yaml
Giống macOS.
Filewindows
%USERPROFILE%\.continue\config.yaml
Tạo thư mục .continue nếu thiếu.
验证是否正常运行
- Continue chat / edit thử
- Sử dụng
故障排除
| 症状 | 原因 | 如何处理 |
|---|---|---|
| 404 anthropic | apiBase có /v1. | apiBase Anthropic = https://apistack.vn |