summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2025-08-08 20:44:59 -0400
committerDax Raad <[email protected]>2025-08-08 20:45:24 -0400
commit7bbc643600a8a669f4dd9136a29f220a5b0e81ab (patch)
treed71033f37704e08f80ab22579fa806674d600523
parent53630ebdce8a3dc64dd11b0fb38205b35fad74fc (diff)
downloadopencode-7bbc643600a8a669f4dd9136a29f220a5b0e81ab.tar.gz
opencode-7bbc643600a8a669f4dd9136a29f220a5b0e81ab.zip
remove synthetic message in plan mode, fixes being confused in build mode
-rw-r--r--packages/opencode/src/session/index.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/opencode/src/session/index.ts b/packages/opencode/src/session/index.ts
index 3e82610b3..494a39c4d 100644
--- a/packages/opencode/src/session/index.ts
+++ b/packages/opencode/src/session/index.ts
@@ -16,7 +16,6 @@ import {
} from "ai"
import PROMPT_INITIALIZE from "../session/prompt/initialize.txt"
-import PROMPT_PLAN from "../session/prompt/plan.txt"
import { App } from "../app/app"
import { Bus } from "../bus"
@@ -608,6 +607,7 @@ export namespace Session {
]
}),
).then((x) => x.flat())
+ /*
if (inputAgent === "plan")
userParts.push({
id: Identifier.ascending("part"),
@@ -617,6 +617,7 @@ export namespace Session {
text: PROMPT_PLAN,
synthetic: true,
})
+ */
await Plugin.trigger(
"chat.message",
{},