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:
CREDO23 2026-02-18 15:10:51 +02:00
parent d28aed14b3
commit 594379ea69
3 changed files with 14 additions and 8 deletions

View file

@ -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: