exclude write tool too
This commit is contained in:
parent
8a6b8e5339
commit
c2cc486c7d
1 changed files with 1 additions and 1 deletions
|
|
@ -141,7 +141,7 @@ export namespace ToolRegistry {
|
||||||
const usePatch = model.modelID.includes("gpt") && !model.modelID.includes("oss")
|
const usePatch = model.modelID.includes("gpt") && !model.modelID.includes("oss")
|
||||||
// && model.modelID !== "gpt-5" << TODO: gpt-5 needs special instructions
|
// && model.modelID !== "gpt-5" << TODO: gpt-5 needs special instructions
|
||||||
if (t.id === "apply_patch") return usePatch
|
if (t.id === "apply_patch") return usePatch
|
||||||
if (t.id === "edit") return !usePatch
|
if (t.id === "edit" || t.id === "write") return !usePatch
|
||||||
|
|
||||||
return true
|
return true
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue