mirror of
https://github.com/lfnovo/open-notebook.git
synced 2026-04-29 20:10:07 +00:00
Source.vectorize() wrapped its own ValueError in DatabaseOperationError, bypassing the stop_on=[ValueError] retry guard in process_source_command. This caused up to 15 retries when processing files with no extractable text, blocking sync API requests indefinitely. - Re-raise ValueError directly in Source.vectorize() instead of wrapping - Add .strip() check to catch whitespace-only content - Skip vectorization gracefully in save_source() when content is empty - Add unit tests for vectorize error handling Fixes #560 |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| base.py | ||
| CLAUDE.md | ||
| content_settings.py | ||
| credential.py | ||
| notebook.py | ||
| provider_config.py | ||
| transformation.py | ||