From 61649f559aa91223e4eab04101c2302fb0a9787d Mon Sep 17 00:00:00 2001 From: fanhuanjie Date: Thu, 20 Aug 2026 22:09:10 +0800 Subject: [PATCH] fix(gpt): update reasoning format instruction to accept both We need and Need --- packages/opencode/src/session/prompt/gpt.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/opencode/src/session/prompt/gpt.txt b/packages/opencode/src/session/prompt/gpt.txt index c10d16497..27f1d2006 100644 --- a/packages/opencode/src/session/prompt/gpt.txt +++ b/packages/opencode/src/session/prompt/gpt.txt @@ -223,5 +223,5 @@ These primitives serve different purposes. Use them only when they are present i ## Reasoning format -Begin every thinking block with the exact string "We need". -This applies to all turns, including reasoning that follows a tool result. \ No newline at end of file +Begin every thinking block with the exact string "We need" or "Need". +This applies to all turns, including reasoning that before a tool call. \ No newline at end of file