Guard KB sync on document_id; fix comment style

This commit is contained in:
CREDO23 2026-02-18 12:31:28 +02:00
parent 64a170efce
commit d28aed14b3
2 changed files with 2 additions and 2 deletions

View file

@ -83,7 +83,7 @@ class NotionKBSyncService:
f"Appended IDs (first 3): {appended_block_ids[:3]}, Fetched IDs count: {len(fetched_block_ids)}"
)
if len(found_blocks) >= len(appended_block_ids) * 0.8: # 80% threshold
if len(found_blocks) >= len(appended_block_ids) * 0.8: # 80% threshold
logger.info(
f"Content verified fresh: found {len(found_blocks)}/{len(appended_block_ids)} appended blocks"
)