ReMe/reme/core/op
jinliyl d5c929722b
refactor(file_store): move sqlite3 imports inside initialization methods (#193)
* fix(core): handle chromadb import error gracefully

- Changed CHROMADB_AVAILABLE flag to _CHROMADB_IMPORT_ERROR exception storage
- Updated version from 0.3.1.7 to 0.3.1.8
- Modified import error handling to preserve original exception details
- Removed hardcoded ImportError message in favor of dynamic exception raising
- Added proper logger initialization using get_logger utility

* refactor(file_store): move sqlite3 imports inside initialization methods

- Moved sqlite3 import from module level to inside init methods
- Removed unused import statement at top of file
- Maintains same functionality while improving import organization
- Prevents potential issues with early sqlite3 dependency loading

* refactor(core): update import error handling with broader exception types

- Changed ImportError to Exception for ray import error handling
- Updated chromadb import error to use Exception instead of ImportError
- Modified elasticsearch import error to catch general exceptions
- Changed asyncpg import error handling from ImportError to Exception
- Updated qdrant import error to use Exception instead of ImportError
- Added explicit type hints for all import error variables as Exception | None
2026-03-31 20:59:59 +08:00
..
__init__.py refactor(core): replace memory stores with file stores and update architecture 2026-02-26 14:18:12 +08:00
base_op.py refactor(file_io): update file I/O operations and truncation logic (#177) 2026-03-25 20:21:37 +08:00
base_ray_op.py refactor(file_store): move sqlite3 imports inside initialization methods (#193) 2026-03-31 20:59:59 +08:00
base_react.py refactor(core): restructure application initialization and service context 2026-02-26 17:56:59 +08:00
base_react_stream.py refactor(core): restructure application initialization and service context 2026-02-26 17:56:59 +08:00
base_tool.py refactor(tool): restructure tool modules and update base classes 2026-01-22 22:53:11 +08:00
mcp_tool.py refactor(core): restructure application initialization and service context 2026-02-26 17:56:59 +08:00
parallel_op.py refactor(core): restructure core modules and update pre-commit configuration 2026-01-22 16:25:20 +08:00
sequential_op.py refactor(core): restructure core modules and update pre-commit configuration 2026-01-22 16:25:20 +08:00