Studio: fix merge-resolution syntax error in chat-adapter (unclosed system-prompt unshift)
This commit is contained in:
parent
affdf24ce7
commit
d36bcac699
1 changed files with 2 additions and 0 deletions
|
|
@ -1761,6 +1761,8 @@ export function createOpenAIStreamAdapter(): ChatModelAdapter {
|
|||
outboundMessages.unshift({
|
||||
role: "system",
|
||||
content: systemPromptParts.join("\n\n"),
|
||||
});
|
||||
}
|
||||
|
||||
if (ragPrefetchEnabled && ragToolEnabled && ragSource.kind !== "off") {
|
||||
const lastUser = [...outboundMessages]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue