exclude write tool too
parent
8a6b8e5339
commit
c2cc486c7d
|
|
@ -141,7 +141,7 @@ export namespace ToolRegistry {
|
|||
const usePatch = model.modelID.includes("gpt") && !model.modelID.includes("oss")
|
||||
// && model.modelID !== "gpt-5" << TODO: gpt-5 needs special instructions
|
||||
if (t.id === "apply_patch") return usePatch
|
||||
if (t.id === "edit") return !usePatch
|
||||
if (t.id === "edit" || t.id === "write") return !usePatch
|
||||
|
||||
return true
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue