Raphaël MANSUY
f7f9a9e6cf
fix: sync all core modules with upstream after Wave 1
2025-12-04 19:13:48 +08:00
yangdx
7f7574c8b7
Add token limit validation for character-only chunking
...
- Add ChunkTokenLimitExceededError exception
- Validate chunks against token limits
- Include chunk preview in error messages
- Add comprehensive test coverage
- Log warnings for oversized chunks
(cherry picked from commit f988a22652 )
2025-12-04 19:11:22 +08:00
yangdx
c50a1357a6
Fix ChunkTokenLimitExceededError message formatting
...
- Prevent passes two separate string objects to __init__
- Maintain same error output
(cherry picked from commit 6fea68bff9 )
2025-12-04 19:11:22 +08:00
yangdx
537db072e0
Add Qdrant legacy collection migration with workspace support
...
- Add QdrantMigrationError exception
- Implement automatic data migration
- Support workspace-based partitioning
- Add migration verification logic
- Update collection naming scheme
(cherry picked from commit 5f4a280458 )
2025-12-04 19:11:15 +08:00
yangdx
a471f1ca0e
Add pipeline cancellation feature for graceful processing termination
...
• Add cancel_pipeline API endpoint
• Implement PipelineCancelledException
• Add cancellation checks in main loop
• Handle task cancellation gracefully
• Mark cancelled docs as FAILED
(cherry picked from commit 743aefc655 )
2025-12-04 19:11:15 +08:00
Raphaël MANSUY
ed73def994
fix: sync core modules with upstream for compatibility
2025-12-04 19:10:46 +08:00
yangdx
ed46d375fb
Auto-initialize pipeline status in LightRAG.initialize_storages()
...
• Remove manual initialize_pipeline_status calls
• Auto-init in initialize_storages method
• Update error messages for clarity
• Warn on workspace conflicts
(cherry picked from commit e22ac52ebc )
2025-12-04 19:09:05 +08:00
yangdx
059003c906
Rename allow_create to first_initialization for clarity
2025-08-23 02:34:39 +08:00
Albert Gil López
f35963c020
feat: Add clear error messages for uninitialized storage
...
- Add StorageNotInitializedError and PipelineNotInitializedError exceptions
- Update JsonDocStatusStorage to raise clear errors when not initialized
- Update JsonKVStorage to raise clear errors when not initialized
- Error messages now include complete initialization instructions
- Helps users understand and fix initialization issues quickly
Addresses feedback from issue #1933 about improving error clarity
2025-08-19 06:41:52 +00:00
Yannick Stephan
eaf1d553d2
improved typing
2025-02-15 22:37:12 +01:00
Saifeddine ALOUI
06c9e4e454
Fixed missing imports bug and fixed linting
2025-01-25 00:55:07 +01:00
Saifeddine ALOUI
34018cb1e0
Separated llms from the main llm.py file and fixed some deprication bugs
2025-01-25 00:11:00 +01:00