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,
|
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,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue