cleanup
parent
c2cc486c7d
commit
06d69ab609
|
|
@ -138,8 +138,7 @@ export namespace ToolRegistry {
|
|||
}
|
||||
|
||||
// use apply tool in same format as codex
|
||||
const usePatch = model.modelID.includes("gpt") && !model.modelID.includes("oss")
|
||||
// && model.modelID !== "gpt-5" << TODO: gpt-5 needs special instructions
|
||||
const usePatch = model.modelID.includes("gpt-5") && !model.modelID.includes("oss")
|
||||
if (t.id === "apply_patch") return usePatch
|
||||
if (t.id === "edit" || t.id === "write") return !usePatch
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue