fix: use system prompt field from prompt input (#5633)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
434e12666b
commit
e8c2e494d0
1 changed files with 1 additions and 0 deletions
|
|
@ -683,6 +683,7 @@ export namespace SessionPrompt {
|
||||||
tools: input.tools,
|
tools: input.tools,
|
||||||
agent: agent.name,
|
agent: agent.name,
|
||||||
model: input.model ?? agent.model ?? (await lastModel(input.sessionID)),
|
model: input.model ?? agent.model ?? (await lastModel(input.sessionID)),
|
||||||
|
system: input.system,
|
||||||
}
|
}
|
||||||
|
|
||||||
const parts = await Promise.all(
|
const parts = await Promise.all(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue