|
|
@@ -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
|
|
|
})
|