pull/9127/head
Aiden Cline 2026-01-18 00:17:13 -06:00
parent c2cc486c7d
commit 06d69ab609
1 changed files with 1 additions and 2 deletions

View File

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