Skip to content

Commit 0b7ec51

Browse files
chore: generate
1 parent 4f1a9d7 commit 0b7ec51

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

packages/opencode/src/session/prompt.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1322,7 +1322,10 @@ export const layer = Layer.effect(
13221322
sessionID,
13231323
parentSessionID: session.parentID,
13241324
system,
1325-
messages: [...modelMsgs, ...(isLastStep ? [{ role: "assistant" as const, content: MAX_STEPS_PROMPT }] : [])],
1325+
messages: [
1326+
...modelMsgs,
1327+
...(isLastStep ? [{ role: "assistant" as const, content: MAX_STEPS_PROMPT }] : []),
1328+
],
13261329
tools,
13271330
model,
13281331
toolChoice: format.type === "json_schema" ? "required" : undefined,

0 commit comments

Comments
 (0)