1
0
forked from agents/opencode

Compare commits

..

119 Commits

Author SHA1 Message Date
mdy c2847df421 merge upstream 2026-04-27 02:13:09 +00:00
imbytecat b410705fd7 chore: 将剩余 gpt-5.4 配置升级至 gpt-5.5 并移除 gpt-5.4 模型 2026-04-25 12:35:19 +08:00
mdy ce4994d952 merge upstream 2026-04-24 20:05:06 +08:00
imbytecat 564c1934a6 chore: 将 glm-5 替换为 kimi-k2.6 并移除 kimi-k2.5 2026-04-24 14:57:49 +08:00
imbytecat 4516384f0e docs: 合并 .env.example 到 README 2026-04-24 14:31:56 +08:00
imbytecat ff94c77eb1 chore: 添加 GPT-5.5 模型配置 2026-04-24 14:26:28 +08:00
imbytecat 3facc31494 chore: 将 hephaestus、oracle 和 deep 升级至 gpt-5.5 2026-04-24 14:10:26 +08:00
mdy 3129cd0b58 merge upstream 2026-04-23 04:39:45 +00:00
imbytecat b9af5f6389 chore: 将 librarian 和 explore 切换至 gpt-5.4-mini 2026-04-22 22:45:03 +08:00
mdy 360064eff9 merge upstream 2026-04-22 09:02:46 +00:00
imbytecat 6c821b65c5 chore: 移除 gemini-3.1-pro-preview 模型配置 2026-04-22 14:01:25 +08:00
mdy ac6a3f58d1 merge upstream 2026-04-22 05:33:48 +00:00
imbytecat 561a3961c1 chore: 启用 Google provider 并切换 Gemini 至 google 前缀 2026-04-22 12:57:34 +08:00
mdy 1772732d47 merge upstream 2026-04-17 22:23:06 +08:00
imbytecat 0c812192ec chore: 将 TUI 主题切换为 catppuccin 2026-04-17 22:12:04 +08:00
imbytecat 92c25d63ca chore: 将 agent 模型升级到 Claude Opus 4.7 2026-04-17 18:27:28 +08:00
mdy bd53dfd30f chore: 应用 Claude Opus 4.7 到西西弗斯 2026-04-17 15:08:39 +08:00
mdy 090df9bed0 chore: 应用 Claude Opus 4.7 模型配置 2026-04-17 14:51:04 +08:00
mdy 9c03325aa3 merge upstream 2026-04-17 03:09:21 +00:00
imbytecat d1a4744d31 chore: 添加 Claude Opus 4.7 模型配置 2026-04-17 09:52:34 +08:00
mdy a235b88659 Merge branch 'main' of git-ssh.furtherverse.com:mdy/opencode-config 2026-04-10 19:40:37 +08:00
mdy 680e052744 merge upstream 2026-04-10 19:34:18 +08:00
imbytecat 3b623a3db8 docs: 补充多配置切换说明 2026-04-10 16:13:17 +08:00
imbytecat 071e61ff3d chore: 在 .gitignore 中忽略旧配置文件名 2026-04-10 15:58:29 +08:00
imbytecat e2ba6e9bd0 chore: 拆分配置文件为 Claude 和 GPT 两个变体 2026-04-10 15:58:24 +08:00
mdy d7e0e577a5 merge upstream 2026-04-10 06:47:24 +00:00
imbytecat 536a5f6e05 chore: 切换核心 agent 模型至 Anthropic Claude 并移除备份文件 2026-04-10 11:18:04 +08:00
mdy ff280ee23d merge upstream 2026-04-09 13:33:20 +00:00
imbytecat a288a50fb2 chore: 切换 sisyphus 模型并停用 Google provider 2026-04-09 19:04:07 +08:00
mdy 11886c0fe3 merge upstream 2026-04-09 07:28:45 +00:00
imbytecat 725477f0cd chore: 添加配置文件备份 2026-04-09 11:18:38 +08:00
imbytecat 5bc20fee60 chore: 更新 agent 和类别模型配置 2026-04-09 11:18:08 +08:00
imbytecat e5120f2690 chore: 添加 package-lock.json 到 .gitignore 2026-04-09 11:18:01 +08:00
mdy c28d49b607 merge upstream 2026-04-03 03:20:06 +00:00
imbytecat 4b784e0ac1 chore: 简化配置文件格式,添加 Gemini 3.1 Pro 模型 2026-04-03 00:10:22 +08:00
imbytecat 7cc5251acc chore: 更新插件引用从 oh-my-opencode 到 oh-my-openagent 2026-04-02 22:59:50 +08:00
imbytecat 9284359b93 chore: 添加 runtime_fallback 配置 2026-04-02 22:26:20 +08:00
imbytecat 2a1f59b993 chore: 更新 writing 类别模型为 kimi-k2p5-turbo 2026-04-02 22:23:12 +08:00
imbytecat 42a1057494 格式化 oh-my-openagent.jsonc 配置并添加 fallback_models 2026-04-02 22:14:09 +08:00
imbytecat 1502791097 chore: 重命名配置文件从 oh-my-opencode 到 oh-my-openagent 2026-04-02 22:10:06 +08:00
imbytecat 092acf0659 chore: 移除 GPT-5.3-Codex 模型定义并升级 deep 类别至 GPT-5.4 2026-04-02 21:45:37 +08:00
mdy 9c10229397 merge upstream 2026-03-31 03:00:01 +00:00
imbytecat cf5f6470ab chore: 启用 disable_omo_env 实验配置 2026-03-31 02:38:15 +08:00
mdy 5cd5022024 merge upstream 2026-03-30 13:40:43 +00:00
imbytecat 500caf5575 chore: 移除 MiniMax M2.5 模型定义 2026-03-30 16:13:29 +08:00
imbytecat 9531af8acb chore: 添加 Kimi K2.5 Turbo 模型定义 2026-03-30 16:11:33 +08:00
mdy 5985d0f92f merge upstream 2026-03-29 08:40:58 +00:00
imbytecat 6b1fd3d5d4 chore: 升级 writing 模型至 Kimi K2.5 2026-03-29 16:33:13 +08:00
imbytecat 9a096ea765 chore: 升级 explore 模型至 MiniMax M2.7 并移除 Grok Code Fast 1 定义 2026-03-29 16:26:15 +08:00
mdy d5733ddec4 merge upstream 2026-03-29 07:57:35 +00:00
imbytecat 447d49522e chore: 升级 small_model 至 GPT-5.4 Mini 2026-03-28 18:03:27 +08:00
imbytecat d38b41cb73 chore: 添加 GLM-5.1 模型定义 2026-03-28 17:49:24 +08:00
imbytecat dfe763a0d9 chore: 重命名 litellm provider 为 ai-gateway 2026-03-28 17:47:05 +08:00
imbytecat ff0ff59d5e chore: 升级核心 agent variant 至 max 并添加 MiniMax M2.7 模型定义 2026-03-28 17:45:28 +08:00
mdy 2a6a73e94a merge upstream 2026-03-28 06:15:35 +00:00
imbytecat 3d0daff68a chore: 重命名环境变量 LITELLM 为 AI_GATEWAY 2026-03-28 05:07:22 +08:00
imbytecat 2b7e3ffecd chore: 升级 librarian 模型至 MiniMax M2.7 2026-03-27 19:53:35 +08:00
mdy 3e5d049aaf merge upstream 2026-03-27 11:46:11 +00:00
imbytecat d3f81338f3 chore: 升级 hephaestus 模型至 GPT-5.4 2026-03-27 18:12:37 +08:00
imbytecat e48b568738 chore: 开放所有权限配置 2026-03-26 04:33:23 +08:00
mdy e3f9b17753 merge upstream 2026-03-20 13:12:25 +00:00
imbytecat 1ab05fac87 docs: 补充 MCP key 可选说明 2026-03-20 13:11:35 +08:00
imbytecat b5717759ba docs: 修正环境变量配置方式为系统级设置 2026-03-20 10:34:38 +08:00
imbytecat cc38835300 docs: 展开环境变量配置说明 2026-03-20 10:31:22 +08:00
imbytecat f3a9562301 docs: 移除描述中的具体实现细节 2026-03-20 10:28:13 +08:00
imbytecat 6450117296 docs: 改进 README 项目描述 2026-03-20 10:27:20 +08:00
imbytecat 1440291655 docs: 精简 README 至最小可用说明 2026-03-20 10:26:50 +08:00
imbytecat ec0aff2728 docs: 重写 README 使其匹配实际配置 2026-03-20 10:21:13 +08:00
mdy 838e615af6 merge upstream 2026-03-19 07:02:12 +00:00
imbytecat 61374e11a9 chore: 将 quick 分类模型切换至 GPT-5.4 mini 2026-03-19 10:13:00 +08:00
imbytecat 94c7118b71 chore: 添加 GPT-5.4 mini 模型定义 2026-03-19 10:12:55 +08:00
imbytecat 752b56ab33 docs: 添加 AGENTS.md 代理指令文件 2026-03-19 10:01:38 +08:00
imbytecat 6477587931 chore: 启用动态上下文剪枝实验配置 2026-03-19 09:46:22 +08:00
mdy fa7a9e1fe7 merge upstream 2026-03-18 06:57:30 +00:00
imbytecat 2c645726fe chore: 精简 LiteLLM 模型配置并调整配置项顺序 2026-03-18 09:40:52 +08:00
mdy de299e0261 merge upstream 2026-03-16 01:34:09 +00:00
imbytecat 3eb10e1f92 chore: 调整配置并精简实验选项 2026-03-16 02:40:46 +08:00
imbytecat 0b7cb68250 chore: 调整代理与分类模型映射 2026-03-16 00:06:57 +08:00
imbytecat b228445039 chore: 更新模型定义参数并移除 GPT-5.2 2026-03-16 00:06:50 +08:00
mdy e6cf0e18f2 merge upstream 2026-03-11 02:17:20 +00:00
imbytecat a6f01430ce chore: 修正 hephaestus 模型 ID 拼写 2026-03-10 16:04:56 +08:00
imbytecat a1f5173300 chore: 移除 skill-creator skill 2026-03-10 11:49:07 +08:00
imbytecat cdc3dd049b chore: 移除 bun-catalog-package skill 2026-03-10 11:48:57 +08:00
imbytecat c89fef8381 chore: 移除 disabled_providers 配置 2026-03-10 09:36:02 +08:00
imbytecat 74af1b6c76 chore: 更新 librarian、explore 与 writing 模型配置 2026-03-10 09:33:12 +08:00
imbytecat 7e41c54a0c chore: 更新代理与分类模型配置 2026-03-10 09:30:46 +08:00
mdy fe4d4f2c83 merge upstream 2026-03-06 06:36:13 +00:00
imbytecat edb4d1504f chore: 添加 GPT-5.4 模型定义 2026-03-06 10:25:16 +08:00
imbytecat 9c5bfe4c86 chore: 升级 OpenAI 模型至 GPT-5.4 2026-03-06 10:20:28 +08:00
mdy 1a25662a90 merge upstream 2026-03-05 02:22:37 +00:00
imbytecat e441ac80b2 chore: 更新 litellm provider 名称与 npm 包 2026-03-04 23:24:14 +08:00
imbytecat fc042a48c5 chore: 统一 qwen3-max 模型键名 2026-03-04 22:53:36 +08:00
imbytecat c893707c94 chore: 更新代理模型配置并统一 MiniMax 键名 2026-03-04 22:43:12 +08:00
mdy b297f3b713 merge upstream 2026-03-04 10:15:55 +00:00
imbytecat 0c95def9f1 style: 调整 VSCode settings 配置项顺序 2026-03-04 16:58:59 +08:00
imbytecat fc15e5d63f chore: 移除 BAILIAN_API_KEY 环境变量示例 2026-03-04 16:40:27 +08:00
imbytecat 5d8b068604 chore: 更新 provider 与代理模型映射
将部分代理模型切换到 litellm、Gemini 和 Sonnet 配置,以统一接入方式并匹配新的模型来源。
2026-03-04 16:07:49 +08:00
mdy bc349dd01c chore: 将主题从 system 修改为 everforest 2026-03-02 13:31:33 +08:00
mdy 6e81723e4f chore: 将 .env 文件添加到 .gitignore 2026-03-02 13:31:21 +08:00
imbytecat e9fb5713b1 chore: 移除 sisypus-junior 代理配置 2026-03-01 20:32:02 +08:00
imbytecat 200c3fe5f8 chore: 添加实验性配置并调整配置项顺序 2026-03-01 01:43:34 +08:00
imbytecat e7aeec46f2 refactor: 调整百炼模型配置顺序,移动 Qwen 系列至末尾 2026-02-28 16:37:33 +08:00
imbytecat ff6d5f89be chore: 为 provider 配置添加 npm 包声明 2026-02-28 15:44:50 +08:00
imbytecat f886e6b440 refactor: 拆分 litellm 统一提供商为独立 provider 配置 2026-02-28 10:25:20 +08:00
imbytecat 2d6c198df8 chore: 更新代理模型配置与整理模型定义 2026-02-28 09:45:47 +08:00
imbytecat 571f658c0c refactor: 调整模型配置顺序,移动 Gemini 3 Flash 至末尾 2026-02-28 09:04:39 +08:00
imbytecat a9a279f068 chore: 更新代理模型配置 2026-02-27 22:32:31 +08:00
imbytecat 6d78aef5a4 chore: 更新环境变量示例配置 2026-02-27 22:20:56 +08:00
imbytecat 888a0eb2b4 style: 统一 jsonc 配置文件格式 2026-02-27 19:45:38 +08:00
imbytecat b9653d78a6 style: 设置 biome 行宽为 120 2026-02-27 19:45:33 +08:00
imbytecat 6d8635c1ac chore: 更新代理模型配置与清理注释 2026-02-27 19:34:45 +08:00
imbytecat abea1e52c0 refactor: 迁移百炼 Coding Plan 模型配置至 opencode 主配置 2026-02-27 19:34:34 +08:00
imbytecat 6f832d3d8c feat: 添加独立 TUI 配置文件 2026-02-27 18:50:05 +08:00
imbytecat 51e11f7582 refactor: 移除模型 thinking 选项配置并拆分 theme 至 TUI 配置 2026-02-27 18:49:54 +08:00
imbytecat 4eadc3b3e9 refactor: 移动百炼 Coding Plan 配置至 .ref 参考目录 2026-02-27 18:49:43 +08:00
imbytecat aa4a96626c feat: 添加百炼 Coding Plan 独立配置文件 2026-02-27 17:01:14 +08:00
imbytecat a0c1d889d8 feat: 添加百炼 Coding Plan 模型提供商配置 2026-02-27 17:00:49 +08:00
imbytecat 0b77e65186 chore: 更新 oh-my-opencode 代理与分类模型配置 2026-02-27 17:00:25 +08:00
imbytecat 1be7ac925d refactor: 初步迁移模型到litellm 2026-02-27 13:57:37 +08:00
10 changed files with 305 additions and 85 deletions
-10
View File
@@ -1,10 +0,0 @@
# Provider
LITELLM_BASE_URL=https://ai.furtherverse.com
LITELLM_API_KEY=
# MCP
EXA_API_KEY=
CONTEXT7_API_KEY=
# Windows
OPENCODE_GIT_BASH_PATH=%USERPROFILE%\scoop\shims\bash.exe
+5
View File
@@ -1,6 +1,11 @@
node_modules node_modules
package.json package.json
package-lock.json
bun.lock bun.lock
.DS_Store .DS_Store
Thumbs.db Thumbs.db
oh-my-openagent.json
oh-my-openagent.jsonc
.env
+5
View File
@@ -0,0 +1,5 @@
# AGENTS.md
- Always reply in Simplified Chinese by default.
- Use English only if the user explicitly asks for it.
- Keep code, commands, file paths, logs, and identifiers unchanged.
+48
View File
@@ -0,0 +1,48 @@
# opencode-config
个人 [OpenCode](https://opencode.ai) 配置文件。
## 使用
1. 安装 OpenCode
```bash
npm i -g opencode-ai
# 或
bun add -g opencode-ai
```
2. 克隆配置到 `~/.config/opencode`
```bash
git clone <repo-url> ~/.config/opencode
```
3. 将以下环境变量配置到系统中
| 变量 | 必填 | 说明 |
|------|------|------|
| `AI_GATEWAY_BASE_URL` | 是 | 模型服务端点,例如 `https://ai-gateway.furtherverse.com` |
| `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` |
4. 选择 oh-my-openagent 配置
项目提供了多套 [oh-my-openagent](https://github.com/code-yeongyu/oh-my-openagent) 预设配置,通过符号链接切换:
| 文件 | 说明 |
|------|------|
| `oh-my-openagent.claude.jsonc` | 主力 agent 使用 Claude 系列模型 |
| `oh-my-openagent.gpt.jsonc` | 主力 agent 使用 GPT 系列模型 |
```bash
# 使用 Claude 配置(默认)
ln -sf oh-my-openagent.claude.jsonc oh-my-openagent.jsonc
# 使用 GPT 配置
ln -sf oh-my-openagent.gpt.jsonc oh-my-openagent.jsonc
```
5. 运行 `opencode`
+64
View File
@@ -0,0 +1,64 @@
{
"$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": "high" },
"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": "anthropic/claude-opus-4-7", "variant": "max" },
"metis": { "model": "anthropic/claude-opus-4-7", "variant": "max" },
"momus": { "model": "openai/gpt-5.5", "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" },
"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" },
"unspecified-high": { "model": "anthropic/claude-opus-4-7", "variant": "max" },
"writing": { "model": "ai-gateway/kimi-k2p5-turbo" }
},
"experimental": {
"disable_omo_env": true,
"dynamic_context_pruning": {
"enabled": true,
"notification": "detailed",
"turn_protection": {
"enabled": true,
"turns": 3
},
"protected_tools": [
"task",
"todowrite",
"todoread",
"lsp_rename",
"session_read",
"session_write",
"session_search"
],
"strategies": {
"deduplication": {
"enabled": true
},
"supersede_writes": {
"enabled": true,
"aggressive": false
},
"purge_errors": {
"enabled": true,
"turns": 5
}
}
}
},
"git_master": {
"commit_footer": false,
"include_co_authored_by": false,
"git_env_prefix": "GIT_MASTER=1"
}
}
+64
View File
@@ -0,0 +1,64 @@
{
"$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" },
"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" },
"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" },
"writing": { "model": "ai-gateway/kimi-k2p5-turbo" }
},
"experimental": {
"disable_omo_env": true,
"dynamic_context_pruning": {
"enabled": true,
"notification": "detailed",
"turn_protection": {
"enabled": true,
"turns": 3
},
"protected_tools": [
"task",
"todowrite",
"todoread",
"lsp_rename",
"session_read",
"session_write",
"session_search"
],
"strategies": {
"deduplication": {
"enabled": true
},
"supersede_writes": {
"enabled": true,
"aggressive": false
},
"purge_errors": {
"enabled": true,
"turns": 5
}
}
}
},
"git_master": {
"commit_footer": false,
"include_co_authored_by": false,
"git_env_prefix": "GIT_MASTER=1"
}
}
-34
View File
@@ -1,34 +0,0 @@
{
"$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json",
"agents": {
"sisyphus": { "model": "openai/gpt-5.3-codex", "variant": "high" },
"hephaestus": { "model": "openai/gpt-5.3-codex", "variant": "high" },
"oracle": { "model": "openai/gpt-5.2", "variant": "high" },
"librarian": { "model": "openai/gpt-5.2", "variant": "medium" },
"explore": { "model": "openai/gpt-5.1-codex-mini" },
"multimodal-looker": { "model": "openai/gpt-5.3-codex", "variant": "medium" },
"prometheus": { "model": "openai/gpt-5.2", "variant": "high" },
"metis": { "model": "openai/gpt-5.2", "variant": "high" },
"momus": { "model": "openai/gpt-5.2", "variant": "high" },
"atlas": { "model": "openai/gpt-5.2", "variant": "medium" }
},
"categories": {
"visual-engineering": { "model": "openai/gpt-5.3-codex", "variant": "high" },
"ultrabrain": { "model": "openai/gpt-5.3-codex", "variant": "xhigh" },
"deep": { "model": "openai/gpt-5.3-codex", "variant": "high" },
"artistry": { "model": "openai/gpt-5.3-codex", "variant": "medium" },
"quick": { "model": "openai/gpt-5.1-codex-mini" },
"unspecified-low": { "model": "openai/gpt-5.2", "variant": "medium" },
"unspecified-high": { "model": "openai/gpt-5.3-codex", "variant": "high" },
"writing": { "model": "openai/gpt-5.2", "variant": "medium" }
},
"git_master": {
"commit_footer": false,
"include_co_authored_by": false
},
"experimental": {
"dynamic_context_pruning": {
"enabled": true
}
}
}
-40
View File
@@ -1,40 +0,0 @@
{
"$schema": "https://opencode.ai/config.json",
"autoupdate": false,
"model": "openai/gpt-5.3-codex",
"small_model": "openai/gpt-5.1-codex-mini",
"experimental": {
"disable_paste_summary": true
},
"plugin": ["oh-my-opencode@latest"],
"disabled_providers": ["opencode"],
"provider": {
"openai": {
"npm": "@ai-sdk/openai",
"options": {
"baseURL": "{env:LITELLM_BASE_URL}/v1",
"apiKey": "{env:LITELLM_API_KEY}"
},
"models": {
"gpt-5.2": {
"name": "GPT-5.2",
"reasoning": true,
"modalities": { "input": ["text", "image"], "output": ["text"] },
"limit": { "context": 400000, "input": 272000, "output": 128000 }
},
"gpt-5.3-codex": {
"name": "GPT-5.3-Codex",
"reasoning": true,
"modalities": { "input": ["text", "image", "pdf"], "output": ["text"] },
"limit": { "context": 400000, "input": 272000, "output": 128000 }
},
"gpt-5.1-codex-mini": {
"name": "GPT-5.1-Codex-Mini",
"reasoning": true,
"modalities": { "input": ["text", "image"], "output": ["text"] },
"limit": { "context": 400000, "input": 272000, "output": 128000 }
}
}
}
}
}
+118
View File
@@ -0,0 +1,118 @@
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["oh-my-openagent@latest"],
"autoupdate": false,
"model": "anthropic/claude-opus-4-7",
"small_model": "openai/gpt-5.4-mini",
"provider": {
"anthropic": {
"npm": "@ai-sdk/anthropic",
"options": {
"baseURL": "{env:AI_GATEWAY_BASE_URL}/v1",
"apiKey": "{env:AI_GATEWAY_API_KEY}"
},
"models": {
"claude-opus-4-7": {
"name": "Claude Opus 4.7",
"reasoning": true,
"modalities": { "input": ["text", "image", "pdf"], "output": ["text"] },
"limit": { "context": 1000000, "output": 128000 }
},
"claude-sonnet-4-6": {
"name": "Claude Sonnet 4.6",
"reasoning": true,
"modalities": { "input": ["text", "image", "pdf"], "output": ["text"] },
"limit": { "context": 200000, "output": 64000 }
},
"claude-haiku-4-5": {
"name": "Claude Haiku 4.5",
"reasoning": true,
"modalities": { "input": ["text", "image", "pdf"], "output": ["text"] },
"limit": { "context": 200000, "output": 64000 }
}
}
},
"openai": {
"npm": "@ai-sdk/openai",
"options": {
"baseURL": "{env:AI_GATEWAY_BASE_URL}/v1",
"apiKey": "{env:AI_GATEWAY_API_KEY}"
},
"models": {
"gpt-5.5": {
"name": "GPT-5.5",
"reasoning": true,
"modalities": { "input": ["text", "image", "pdf"], "output": ["text"] },
"limit": { "context": 1050000, "input": 920000, "output": 130000 }
},
"gpt-5.4-mini": {
"name": "GPT-5.4 mini",
"reasoning": true,
"modalities": { "input": ["text", "image"], "output": ["text"] },
"limit": { "context": 400000, "input": 272000, "output": 128000 }
}
}
},
"google": {
"npm": "@ai-sdk/google",
"options": {
"baseURL": "{env:AI_GATEWAY_BASE_URL}/v1beta",
"apiKey": "{env:AI_GATEWAY_API_KEY}"
},
"models": {
"gemini-3.1-pro-preview": {
"name": "Gemini 3.1 Pro",
"reasoning": true,
"modalities": { "input": ["text", "image", "video", "audio", "pdf"], "output": ["text"] },
"limit": { "context": 1048576, "output": 65536 }
},
"gemini-3-flash-preview": {
"name": "Gemini 3 Flash",
"reasoning": true,
"modalities": { "input": ["text", "image", "video", "audio", "pdf"], "output": ["text"] },
"limit": { "context": 1048576, "output": 65536 }
}
}
},
"ai-gateway": {
"name": "AI Gateway",
"npm": "@ai-sdk/openai-compatible",
"options": {
"baseURL": "{env:AI_GATEWAY_BASE_URL}/v1",
"apiKey": "{env:AI_GATEWAY_API_KEY}"
},
"models": {
"glm-5.1": {
"name": "GLM-5.1",
"reasoning": true,
"modalities": { "input": ["text"], "output": ["text"] },
"limit": { "context": 204800, "output": 131072 }
},
"kimi-k2.6": {
"name": "Kimi K2.6",
"reasoning": true,
"modalities": { "input": ["text", "image", "video"], "output": ["text"] },
"limit": { "context": 262144, "output": 65536 }
},
"kimi-k2p5-turbo": {
"name": "Kimi K2.5 Turbo",
"reasoning": true,
"modalities": { "input": ["text", "image"], "output": ["text"] },
"limit": { "context": 256000, "output": 256000 }
},
"minimax-m2.7": {
"name": "MiniMax M2.7",
"reasoning": true,
"modalities": { "input": ["text"], "output": ["text"] },
"limit": { "context": 204800, "output": 131072 }
}
}
}
},
"permission": {
"*": "allow"
},
"experimental": {
"disable_paste_summary": true
}
}
+1 -1
View File
@@ -1,4 +1,4 @@
{ {
"$schema": "https://opencode.ai/tui.json", "$schema": "https://opencode.ai/tui.json",
"theme": "system" "theme": "everforest"
} }