add surfsense docs context formatting in stream_new_chat

This commit is contained in:
CREDO23 2026-01-13 02:50:56 +02:00
parent 7e3e784b45
commit 5ecdfae8a9
2 changed files with 58 additions and 4 deletions

View file

@ -706,6 +706,7 @@ async def handle_new_chat(
llm_config_id=llm_config_id,
attachments=request.attachments,
mentioned_document_ids=request.mentioned_document_ids,
mentioned_surfsense_doc_ids=request.mentioned_surfsense_doc_ids,
),
media_type="text/event-stream",
headers={