diff --git a/README.md b/README.md index fa7f494..f54a29d 100644 --- a/README.md +++ b/README.md @@ -28,4 +28,21 @@ | `CONTEXT7_API_KEY` | 否 | [Context7](https://context7.com) 文档查询,提供库文档检索,不配则使用默认额度 | | `OPENCODE_GIT_BASH_PATH` | 否 | Windows 用户需指定 Git Bash 路径,否则工具调用可能异常 | -4. 运行 `opencode` +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`