Compare commits
28 Commits
main
..
360064eff9
| Author | SHA1 | Date | |
|---|---|---|---|
| 360064eff9 | |||
| ac6a3f58d1 | |||
| 1772732d47 | |||
| bd53dfd30f | |||
| 090df9bed0 | |||
| 9c03325aa3 | |||
| a235b88659 | |||
| 680e052744 | |||
| d7e0e577a5 | |||
| ff280ee23d | |||
| 11886c0fe3 | |||
| c28d49b607 | |||
| 9c10229397 | |||
| 5cd5022024 | |||
| 5985d0f92f | |||
| d5733ddec4 | |||
| 2a6a73e94a | |||
| 3e5d049aaf | |||
| e3f9b17753 | |||
| 838e615af6 | |||
| fa7a9e1fe7 | |||
| de299e0261 | |||
| e6cf0e18f2 | |||
| fe4d4f2c83 | |||
| 1a25662a90 | |||
| b297f3b713 | |||
| bc349dd01c | |||
| 6e81723e4f |
@@ -0,0 +1,10 @@
|
||||
# Provider
|
||||
AI_GATEWAY_BASE_URL=https://ai-gateway.furtherverse.com
|
||||
AI_GATEWAY_API_KEY=
|
||||
|
||||
# MCP
|
||||
EXA_API_KEY=
|
||||
CONTEXT7_API_KEY=
|
||||
|
||||
# Windows
|
||||
OPENCODE_GIT_BASH_PATH=%USERPROFILE%\scoop\apps\git\current\bin\bash.exe
|
||||
@@ -8,3 +8,4 @@ Thumbs.db
|
||||
|
||||
oh-my-openagent.json
|
||||
oh-my-openagent.jsonc
|
||||
.env
|
||||
|
||||
@@ -18,15 +18,15 @@
|
||||
git clone <repo-url> ~/.config/opencode
|
||||
```
|
||||
|
||||
3. 将以下环境变量配置到系统中
|
||||
3. 参考 `.env.example` 将以下环境变量配置到系统中
|
||||
|
||||
| 变量 | 必填 | 说明 |
|
||||
|------|------|------|
|
||||
| `AI_GATEWAY_BASE_URL` | 是 | 模型服务端点,例如 `https://ai-gateway.furtherverse.com` |
|
||||
| `AI_GATEWAY_BASE_URL` | 是 | 模型服务端点 |
|
||||
| `AI_GATEWAY_API_KEY` | 是 | 模型服务密钥 |
|
||||
| `EXA_API_KEY` | 否 | [Exa](https://exa.ai) 搜索,提供联网能力,不配则使用默认额度 |
|
||||
| `CONTEXT7_API_KEY` | 否 | [Context7](https://context7.com) 文档查询,提供库文档检索,不配则使用默认额度 |
|
||||
| `OPENCODE_GIT_BASH_PATH` | 否 | Windows 用户需指定 Git Bash 路径,否则工具调用可能异常,例如 `%USERPROFILE%\scoop\apps\git\current\bin\bash.exe` |
|
||||
| `OPENCODE_GIT_BASH_PATH` | 否 | Windows 用户需指定 Git Bash 路径,否则工具调用可能异常 |
|
||||
|
||||
4. 选择 oh-my-openagent 配置
|
||||
|
||||
|
||||
@@ -1,22 +1,22 @@
|
||||
{
|
||||
"$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-openagent/dev/assets/oh-my-opencode.schema.json",
|
||||
"agents": {
|
||||
"sisyphus": { "model": "anthropic/claude-opus-4-7", "variant": "max" },
|
||||
"hephaestus": { "model": "openai/gpt-5.5", "variant": "medium" },
|
||||
"oracle": { "model": "openai/gpt-5.5", "variant": "high" },
|
||||
"librarian": { "model": "openai/gpt-5.4-mini" },
|
||||
"explore": { "model": "openai/gpt-5.4-mini" },
|
||||
"multimodal-looker": { "model": "openai/gpt-5.5", "variant": "medium" },
|
||||
"sisyphus": { "model": "anthropic/claude-opus-4-7", "variant": "high" },
|
||||
"hephaestus": { "model": "openai/gpt-5.4", "variant": "medium" },
|
||||
"oracle": { "model": "openai/gpt-5.4", "variant": "high" },
|
||||
"librarian": { "model": "ai-gateway/minimax-m2.7" },
|
||||
"explore": { "model": "ai-gateway/minimax-m2.7" },
|
||||
"multimodal-looker": { "model": "openai/gpt-5.4", "variant": "medium" },
|
||||
"prometheus": { "model": "anthropic/claude-opus-4-7", "variant": "max" },
|
||||
"metis": { "model": "anthropic/claude-opus-4-7", "variant": "max" },
|
||||
"momus": { "model": "openai/gpt-5.5", "variant": "xhigh" },
|
||||
"momus": { "model": "openai/gpt-5.4", "variant": "xhigh" },
|
||||
"atlas": { "model": "anthropic/claude-sonnet-4-6" },
|
||||
"sisyphus-junior": { "model": "anthropic/claude-sonnet-4-6" }
|
||||
},
|
||||
"categories": {
|
||||
"visual-engineering": { "model": "google/gemini-3.1-pro-preview", "variant": "high" },
|
||||
"ultrabrain": { "model": "openai/gpt-5.5", "variant": "xhigh" },
|
||||
"deep": { "model": "openai/gpt-5.5", "variant": "medium" },
|
||||
"ultrabrain": { "model": "openai/gpt-5.4", "variant": "xhigh" },
|
||||
"deep": { "model": "openai/gpt-5.4", "variant": "medium" },
|
||||
"artistry": { "model": "google/gemini-3.1-pro-preview", "variant": "high" },
|
||||
"quick": { "model": "openai/gpt-5.4-mini" },
|
||||
"unspecified-low": { "model": "anthropic/claude-sonnet-4-6" },
|
||||
|
||||
+13
-13
@@ -1,26 +1,26 @@
|
||||
{
|
||||
"$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-openagent/dev/assets/oh-my-opencode.schema.json",
|
||||
"agents": {
|
||||
"sisyphus": { "model": "openai/gpt-5.5", "variant": "medium" },
|
||||
"hephaestus": { "model": "openai/gpt-5.5", "variant": "medium" },
|
||||
"oracle": { "model": "openai/gpt-5.5", "variant": "high" },
|
||||
"librarian": { "model": "openai/gpt-5.4-mini" },
|
||||
"explore": { "model": "openai/gpt-5.4-mini" },
|
||||
"multimodal-looker": { "model": "openai/gpt-5.5", "variant": "medium" },
|
||||
"prometheus": { "model": "openai/gpt-5.5", "variant": "high" },
|
||||
"metis": { "model": "openai/gpt-5.5", "variant": "high" },
|
||||
"momus": { "model": "openai/gpt-5.5", "variant": "xhigh" },
|
||||
"sisyphus": { "model": "openai/gpt-5.4", "variant": "medium" },
|
||||
"hephaestus": { "model": "openai/gpt-5.4", "variant": "medium" },
|
||||
"oracle": { "model": "openai/gpt-5.4", "variant": "high" },
|
||||
"librarian": { "model": "ai-gateway/minimax-m2.7" },
|
||||
"explore": { "model": "ai-gateway/minimax-m2.7" },
|
||||
"multimodal-looker": { "model": "openai/gpt-5.4", "variant": "medium" },
|
||||
"prometheus": { "model": "openai/gpt-5.4", "variant": "high" },
|
||||
"metis": { "model": "openai/gpt-5.4", "variant": "high" },
|
||||
"momus": { "model": "openai/gpt-5.4", "variant": "xhigh" },
|
||||
"atlas": { "model": "ai-gateway/kimi-k2p5-turbo" },
|
||||
"sisyphus-junior": { "model": "ai-gateway/kimi-k2p5-turbo" }
|
||||
},
|
||||
"categories": {
|
||||
"visual-engineering": { "model": "google/gemini-3.1-pro-preview", "variant": "high" },
|
||||
"ultrabrain": { "model": "openai/gpt-5.5", "variant": "xhigh" },
|
||||
"deep": { "model": "openai/gpt-5.5", "variant": "medium" },
|
||||
"ultrabrain": { "model": "openai/gpt-5.4", "variant": "xhigh" },
|
||||
"deep": { "model": "openai/gpt-5.4", "variant": "medium" },
|
||||
"artistry": { "model": "google/gemini-3.1-pro-preview", "variant": "high" },
|
||||
"quick": { "model": "openai/gpt-5.4-mini" },
|
||||
"unspecified-low": { "model": "ai-gateway/kimi-k2p5-turbo" },
|
||||
"unspecified-high": { "model": "openai/gpt-5.5", "variant": "high" },
|
||||
"unspecified-low": { "model": "gpt-5.3-codex", "variant": "medium" },
|
||||
"unspecified-high": { "model": "openai/gpt-5.4", "variant": "high" },
|
||||
"writing": { "model": "ai-gateway/kimi-k2p5-turbo" }
|
||||
},
|
||||
"experimental": {
|
||||
|
||||
+14
-8
@@ -2,7 +2,7 @@
|
||||
"$schema": "https://opencode.ai/config.json",
|
||||
"plugin": ["oh-my-openagent@latest"],
|
||||
"autoupdate": false,
|
||||
"model": "anthropic/claude-opus-4-6",
|
||||
"model": "anthropic/claude-opus-4-7",
|
||||
"small_model": "openai/gpt-5.4-mini",
|
||||
"provider": {
|
||||
"anthropic": {
|
||||
@@ -39,11 +39,11 @@
|
||||
"apiKey": "{env:AI_GATEWAY_API_KEY}"
|
||||
},
|
||||
"models": {
|
||||
"gpt-5.5": {
|
||||
"name": "GPT-5.5",
|
||||
"gpt-5.4": {
|
||||
"name": "GPT-5.4",
|
||||
"reasoning": true,
|
||||
"modalities": { "input": ["text", "image", "pdf"], "output": ["text"] },
|
||||
"limit": { "context": 1050000, "input": 920000, "output": 130000 }
|
||||
"limit": { "context": 1050000, "input": 922000, "output": 128000 }
|
||||
},
|
||||
"gpt-5.4-mini": {
|
||||
"name": "GPT-5.4 mini",
|
||||
@@ -88,11 +88,11 @@
|
||||
"modalities": { "input": ["text"], "output": ["text"] },
|
||||
"limit": { "context": 204800, "output": 131072 }
|
||||
},
|
||||
"kimi-k2.6": {
|
||||
"name": "Kimi K2.6",
|
||||
"glm-5": {
|
||||
"name": "GLM-5",
|
||||
"reasoning": true,
|
||||
"modalities": { "input": ["text", "image", "video"], "output": ["text"] },
|
||||
"limit": { "context": 262144, "output": 65536 }
|
||||
"modalities": { "input": ["text"], "output": ["text"] },
|
||||
"limit": { "context": 204800, "output": 131072 }
|
||||
},
|
||||
"kimi-k2p5-turbo": {
|
||||
"name": "Kimi K2.5 Turbo",
|
||||
@@ -100,6 +100,12 @@
|
||||
"modalities": { "input": ["text", "image"], "output": ["text"] },
|
||||
"limit": { "context": 256000, "output": 256000 }
|
||||
},
|
||||
"kimi-k2.5": {
|
||||
"name": "Kimi K2.5",
|
||||
"reasoning": true,
|
||||
"modalities": { "input": ["text", "image", "video"], "output": ["text"] },
|
||||
"limit": { "context": 262144, "output": 262144 }
|
||||
},
|
||||
"minimax-m2.7": {
|
||||
"name": "MiniMax M2.7",
|
||||
"reasoning": true,
|
||||
|
||||
Reference in New Issue
Block a user