fix: use system prompt field from prompt input (#5633)

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Tommy D. Rossi 2025-12-16 17:52:22 +01:00 committed by GitHub
parent a190eda2c8
commit 11b3927dc2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -683,6 +683,7 @@ export namespace SessionPrompt {
tools: input.tools,
agent: agent.name,
model: input.model ?? agent.model ?? (await lastModel(input.sessionID)),
system: input.system,
}
const parts = await Promise.all(