diff options
| author | Aiden Cline <[email protected]> | 2026-01-21 12:14:05 -0600 |
|---|---|---|
| committer | Aiden Cline <[email protected]> | 2026-01-21 12:14:09 -0600 |
| commit | d9f0287d74a2eed89c5cb4f1919b5944959b5317 (patch) | |
| tree | 9d8bf50d9fd130cb6b890de4f0fb3853f9e29085 | |
| parent | 301e74d953e9dbda407d5c65cbbcb879c73a6a09 (diff) | |
| download | opencode-d9f0287d74a2eed89c5cb4f1919b5944959b5317.tar.gz opencode-d9f0287d74a2eed89c5cb4f1919b5944959b5317.zip | |
tweak: add back todo list tools for openai models
| -rw-r--r-- | packages/opencode/src/tool/registry.ts | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/packages/opencode/src/tool/registry.ts b/packages/opencode/src/tool/registry.ts index dad9914a2..faa5f72bc 100644 --- a/packages/opencode/src/tool/registry.ts +++ b/packages/opencode/src/tool/registry.ts @@ -143,11 +143,6 @@ export namespace ToolRegistry { if (t.id === "apply_patch") return usePatch if (t.id === "edit" || t.id === "write") return !usePatch - // omit todo tools for openai models - if (t.id === "todoread" || t.id === "todowrite") { - if (model.modelID.includes("gpt-")) return false - } - return true }) .map(async (t) => { |
