mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-23 21:16:06 +00:00
cleanup
This commit is contained in:
parent
c2cc486c7d
commit
06d69ab609
1 changed files with 1 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue