chore: generate

This commit is contained in:
opencode-agent[bot] 2026-06-20 21:05:57 +00:00
commit 0b7ec51d0a

View file

@ -1322,7 +1322,10 @@ export const layer = Layer.effect(
sessionID, sessionID,
parentSessionID: session.parentID, parentSessionID: session.parentID,
system, system,
messages: [...modelMsgs, ...(isLastStep ? [{ role: "assistant" as const, content: MAX_STEPS_PROMPT }] : [])], messages: [
...modelMsgs,
...(isLastStep ? [{ role: "assistant" as const, content: MAX_STEPS_PROMPT }] : []),
],
tools, tools,
model, model,
toolChoice: format.type === "json_schema" ? "required" : undefined, toolChoice: format.type === "json_schema" ? "required" : undefined,