mirror of
https://github.com/anomalyco/opencode.git
synced 2026-07-10 02:58:29 +00:00
chore: generate
This commit is contained in:
parent
4f1a9d7aef
commit
0b7ec51d0a
1 changed files with 4 additions and 1 deletions
|
|
@ -1322,7 +1322,10 @@ export const layer = Layer.effect(
|
|||
sessionID,
|
||||
parentSessionID: session.parentID,
|
||||
system,
|
||||
messages: [...modelMsgs, ...(isLastStep ? [{ role: "assistant" as const, content: MAX_STEPS_PROMPT }] : [])],
|
||||
messages: [
|
||||
...modelMsgs,
|
||||
...(isLastStep ? [{ role: "assistant" as const, content: MAX_STEPS_PROMPT }] : []),
|
||||
],
|
||||
tools,
|
||||
model,
|
||||
toolChoice: format.type === "json_schema" ? "required" : undefined,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue