We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a7809f commit 3515b4fCopy full SHA for 3515b4f
1 file changed
packages/opencode/src/tool/registry.ts
@@ -143,6 +143,11 @@ export namespace ToolRegistry {
143
if (t.id === "apply_patch") return usePatch
144
if (t.id === "edit" || t.id === "write") return !usePatch
145
146
+ // omit todo tools for openai models
147
+ if (t.id === "todoread" || t.id === "todowrite") {
148
+ if (model.modelID.includes("gpt-")) return false
149
+ }
150
+
151
return true
152
})
153
.map(async (t) => {
0 commit comments