| 两侧同时换到之前的修订记录前一修订版后一修订版 | 前一修订版 |
| 知识库:droid指南 [2026/01/09 10:06] – 邪让多杰 | 知识库:droid指南 [2026/03/08 15:43] (当前版本) – 邪让多杰 |
|---|
| ====== Droid 安装配置指南 ====== | ====== Droid 安装配置指南 ====== |
| |
| <note>配置完了要用/model切模型!</note> | == 分支 == |
| | - [[opencode指南|OpenCode 安装配置指南]] |
| | - [[openclaw_小龙虾_指南|OpenClaw模型配置教程]] |
| | - [[配置插件|自动配置插件]] |
| | - [[mcp-生图插件]] |
| |
| ===== 简要步骤说明:===== | ===== 简要步骤说明:===== |
| * 在 <color #22b14c>令牌</color> 页面生成 API Key | * 在 <color #22b14c>令牌</color> 页面生成 API Key |
| * 把 Key 填入 <color #ff7f27>config.json</color> | * 把 Key 填入 <color #ff7f27>config.json</color> |
| | * 如果以前有用过,需要更新或删除<color #ff7f27>setting.json</color> |
| - **步骤4** - 切换模型:在 Droid 里用 <color #ed1c24>/model</color> 切换到 <color #00a2e8>custom</color> 里的模型 | - **步骤4** - 切换模型:在 Droid 里用 <color #ed1c24>/model</color> 切换到 <color #00a2e8>custom</color> 里的模型 |
| |
| "custom_models": [ | "custom_models": [ |
| { | { |
| "model_display_name": "Opus 4.5 [duojie.games]", | "model_display_name": "Opus 4.6 [duojie.games]", |
| "model": "claude-opus-4-5-20251101", | "model": "claude-opus-4-6-gemini", |
| "base_url": "https://api.duojie.games", | "base_url": "https://api.duojie.games", |
| "api_key": "你的API密钥", | "api_key": "你的密钥", |
| "provider": "anthropic", | "provider": "anthropic", |
| "supports_vision": true, | "supports_vision": true, |
| "max_tokens": 8192 | "max_tokens": 8192 |
| } | }, |
| ] | |
| } | |
| </code> | |
| | |
| === 多模型配置示例 === | |
| | |
| <code json> | |
| { | |
| "custom_models": [ | |
| { | { |
| "model_display_name": "Opus 4.5 [duojie.games]", | "model_display_name": "Sonnet 4.6 [duojie.games]", |
| "model": "claude-opus-4-5-20251101", | "model": "claude-sonnet-4-6", |
| "base_url": "https://api.duojie.games", | "base_url": "https://api.duojie.games", |
| "api_key": "你的密钥", | "api_key": "你的密钥", |
| }, | }, |
| { | { |
| "model_display_name": "Opus 4.5 Think [duojie.games]", | "model_display_name": "GLM-5 [duojie.games]", |
| "model": "claude-opus-4-5-think", | "model": "glm-5", |
| "base_url": "https://api.duojie.games", | "base_url": "https://api.duojie.games", |
| "api_key": "你的密钥", | "api_key": "你的密钥", |
| "provider": "anthropic", | "provider": "anthropic", |
| | "supports_vision": true, |
| "max_tokens": 8192 | "max_tokens": 8192 |
| }, | }, |
| { | { |
| "model_display_name": "GLM-4.7 [duojie.games]", | "model_display_name": "Sonnet 4.5 [duojie.games]", |
| "model": "glm-4.7", | "model": "claude-sonnet-4-5", |
| "base_url": "https://api.duojie.games", | "base_url": "https://api.duojie.games", |
| "api_key": "你的密钥", | "api_key": "你的密钥", |
| "provider": "anthropic", | "provider": "anthropic", |
| "supports_vision": true | "supports_vision": true, |
| | "max_tokens": 8192 |
| }, | }, |
| { | { |
| "model_display_name": "Gemini 3 Pro [duojie.games]", | "model_display_name": "GPT 5.4 [duojie.games]", |
| "model": "gemini-3-pro-preview", | "model": "gpt-5.4", |
| "base_url": "https://api.duojie.games", | "base_url": "https://api.duojie.games/v1", |
| "api_key": "你的密钥", | "api_key": "你的密钥", |
| "provider": "anthropic", | "provider": "openai-responses", |
| "supports_vision": true | "supports_vision": true, |
| | "max_tokens": 8192 |
| | }, |
| | { |
| | "model_display_name": "Gemini 3.1 Pro [duojie.games]", |
| | "model": "gemini-3.1-pro", |
| | "base_url": "https://api.duojie.games/v1", |
| | "api_key": "你的密钥", |
| | "provider": "openai", |
| | "supports_vision": true, |
| | "max_tokens": 8192 |
| } | } |
| ] | ] |