Преглед изворни кода

temp: disable reasoning output with early continue

Dax Raad пре 2 месеци
родитељ
комит
f21f8bb4c7
1 измењених фајлова са 1 додато и 11 уклоњено
  1. 1 11
      packages/opencode/src/cli/cmd/run.ts

+ 1 - 11
packages/opencode/src/cli/cmd/run.ts

@@ -415,17 +415,7 @@ export const RunCommand = cmd({
             }
 
             if (part.type === "reasoning" && part.time?.end) {
-              if (emit("reasoning", { part })) continue
-              const text = part.text.trim()
-              if (!text) continue
-              const line = `Thinking: ${text}`
-              if (process.stdout.isTTY) {
-                UI.empty()
-                UI.println(`\u001b[3m${line}\u001b[0m`)
-                UI.empty()
-                continue
-              }
-              process.stdout.write(line + EOL)
+              continue
             }
           }