ReMe/reme/core
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
..
as_llm refactor(core): update registry registration syntax and improve code formatting 2026-03-06 01:57:29 +08:00
as_llm_formatter Dev/token (#159) 2026-03-17 11:07:31 +08:00
as_token_counter feat(core): update version and enhance configuration management (#164) 2026-03-18 15:16:10 +08:00
embedding style(memory): update message formatting and improve logging (#175) 2026-03-24 00:20:15 +08:00
enumeration refactor(core): replace memory stores with file stores and update architecture 2026-02-26 14:18:12 +08:00
file_store refactor(file_store): move sqlite3 imports inside initialization methods (#193) 2026-03-31 20:59:59 +08:00
file_watcher refactor(core): replace text truncation utilities with new marker system (#179) 2026-03-26 12:10:24 +08:00
flow refactor(core): restructure application initialization and service context 2026-02-26 17:56:59 +08:00
llm feat(core): update version and enhance configuration management (#164) 2026-03-18 15:16:10 +08:00
op refactor(file_store): move sqlite3 imports inside initialization methods (#193) 2026-03-31 20:59:59 +08:00
schema refactor(core): replace text truncation utilities with new marker system (#179) 2026-03-26 12:10:24 +08:00
service refactor(core): restructure application initialization and service context 2026-02-26 17:56:59 +08:00
token_counter refactor(core): restructure application initialization and service context 2026-02-26 17:56:59 +08:00
tools refactor(core): restructure application initialization and service context 2026-02-26 17:56:59 +08:00
utils refactor(core): replace text truncation utilities with new marker system (#179) 2026-03-26 12:10:24 +08:00
vector_store refactor(file_store): move sqlite3 imports inside initialization methods (#193) 2026-03-31 20:59:59 +08:00
__init__.py refactor(cli): using AgentScope components to reimplement the reme_cli logic (#153) 2026-03-12 11:23:36 +08:00
application.py feat(compactor): add extra instruction support and improve error handing (#190) 2026-03-31 16:22:39 +08:00
base_dict.py refactor(core): replace memory stores with file stores and update architecture 2026-02-26 14:18:12 +08:00
prompt_handler.py refactor(core): restructure application initialization and service context 2026-02-26 17:56:59 +08:00
registry_factory.py refactor(cli): using AgentScope components to reimplement the reme_cli logic (#153) 2026-03-12 11:23:36 +08:00
runtime_context.py refactor(core): restructure application initialization and service context 2026-02-26 17:56:59 +08:00
service_context.py feat(core): update version and enhance configuration management (#164) 2026-03-18 15:16:10 +08:00