feat(core): restore per-request system prompt (#34335)
This commit is contained in:
parent
94e3a29d2f
commit
04c6bed240
9 changed files with 103 additions and 2 deletions
|
|
@ -492,6 +492,7 @@ const resolvePrompt = (input: PromptInput.Prompt) =>
|
|||
Prompt.make({
|
||||
text: input.text,
|
||||
agents: input.agents,
|
||||
system: input.system,
|
||||
files: input.files?.map((file) => {
|
||||
const dataMime = file.uri.match(/^data:([^;,]+)[;,]/i)?.[1]
|
||||
const target = URL.canParse(file.uri) ? new URL(file.uri).pathname : (file.name ?? file.uri)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue