Skip to content

Commit f25caf4

Browse files
sahrizviclaude
andcommitted
fix: wrap toolChoice: "none" with altimate_change markers
The consensus-review fix commit added `toolChoice: "none" as const` to `ensureTitle`'s `LLM.stream` call without wrapping it in `altimate_change start`/`end` markers, tripping the Marker Guard CI check on this upstream-shared file. Co-Authored-By: Claude Sonnet 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WJKLg6TKfGMPntHvkXZd7Z
1 parent 3a94ff0 commit f25caf4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎packages/opencode/src/session/prompt.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4062,11 +4062,12 @@ NOTE: At any point in time through this workflow you should feel free to ask the
40624062
system: [],
40634063
small: true,
40644064
tools: {},
4065-
// altimate_change — title generation is toolless, but without an explicit "none" the
4065+
// altimate_change start — title generation is toolless, but without an explicit "none" the
40664066
// historical-tool-stub injection in LLM.stream repopulates `tools` from any tool parts in
40674067
// the context, which both re-declares tools this request cannot use and suppresses the
40684068
// toolless message flattening. compaction.ts passes the same flag for the same reason.
40694069
toolChoice: "none" as const,
4070+
// altimate_change end
40704071
model,
40714072
abort: new AbortController().signal,
40724073
sessionID: input.session.id,

0 commit comments

Comments
 (0)