diff --git a/studio/frontend/src/features/chat/api/chat-adapter.ts b/studio/frontend/src/features/chat/api/chat-adapter.ts index bf192dc1be..d4fd10101c 100644 --- a/studio/frontend/src/features/chat/api/chat-adapter.ts +++ b/studio/frontend/src/features/chat/api/chat-adapter.ts @@ -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]