mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-29 10:56:24 +02:00
add surfsense docs context formatting in stream_new_chat
This commit is contained in:
parent
7e3e784b45
commit
5ecdfae8a9
2 changed files with 58 additions and 4 deletions
|
|
@ -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={
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue