D-revv
D-revv
## Problem When uploading an empty file (0 bytes), the source gets stuck in processing instead of being immediately rejected. ## Symptoms - Source status shows "completed" with error message...
## Feature Request Add sorting functionality for all columns in the Sources list page, not just "Created" and "Updated". ## Current State Only the "Created" column has sorting functionality (↑↓...
## Problem When deleting a source in the UI, the associated commands in SurrealDB are not cleaned up. This causes zombie processes that block the worker from processing new sources....
## Problem The Prompter.render() function rendered the entire state object, causing LLMs to enter endless loops (e.g., repeating "Wait, I need to check..."). ## Fix Removed Prompter.render(), using direct string...
## Problem No idempotency check before creating insights caused 15+ duplicate insights per source during retries. ## Fix Added SELECT check before CREATE to skip existing insights. ## Files Modified...
## Problem Single retry loop for both DB and LLM operations caused DB timeouts to trigger LLM retries (spam). ## Fix Separated retry logic: - process_source: 1 attempt (no retry)...
## Problem All sources processed simultaneously caused LLM rate limits even with proper retry logic. ## Fix Changed DEFAULT_MAX_TASKS from 5 to 1 for sequential processing. This ensures sources are...
## Fixes - Fix input_text not passed to transformations (caused empty LLM requests) - Remove Prompter.render() causing endless LLM loops - Add idempotency check to prevent duplicate insights on retry...
## Problem When deleting a source in the UI, the associated commands in SurrealDB are not cleaned up. This causes zombie processes that block the worker from processing new sources....
## Summary Implements the `OPEN_NOTEBOOK_WORKER_MAX_TASKS` environment variable to control worker concurrency and prevent LLM rate limits on single-GPU setups. ## Changes - ✅ Added input validation to all worker startup...