mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-03 12:52:39 +02:00
Disable streaming for KB sync summary LLM to prevent token leaking into chat; remove workspace_icon from update-notion-page
This commit is contained in:
parent
d28aed14b3
commit
594379ea69
3 changed files with 14 additions and 8 deletions
|
|
@ -104,7 +104,7 @@ class NotionKBSyncService:
|
|||
|
||||
logger.debug("Generating summary and embeddings")
|
||||
user_llm = await get_user_long_context_llm(
|
||||
self.db_session, user_id, search_space_id
|
||||
self.db_session, user_id, search_space_id, disable_streaming=True # disable streaming to avoid leaking into the chat
|
||||
)
|
||||
|
||||
if user_llm:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue