claude-os/app/core
Claude 4be26e083d
✨ FEATURE: Add configurable reranker and environment validation
NEW FEATURES:
- Made reranker configurable via ENABLE_RERANKER env var
  - Previously hardcoded as disabled
  - Now controllable: set ENABLE_RERANKER=true to enable
  - Graceful fallback if initialization fails

- Added comprehensive config validation on startup
  - Validates Ollama host, database path, ports
  - Validates RAG configuration values
  - Early failure with clear error messages
  - Prevents silent configuration errors

- Added slowapi dependency for rate limiting

IMPROVED:
- Better error handling for reranker initialization
- Clearer logging messages for configuration status
- Type-safe environment variable parsing

Files: app/core/config.py, app/core/rag_engine.py, requirements.txt
2025-11-04 19:16:07 +00:00
..
__init__.py first commit 2025-10-22 13:29:28 -05:00
agent_os_ingestion.py Project cleanup 2025-10-31 16:54:28 -05:00
agent_os_parser.py test(core): Fix test suite and improve core configuration 2025-10-27 21:52:46 -05:00
config.py ✨ FEATURE: Add configurable reranker and environment validation 2025-11-04 19:16:07 +00:00
conversation_watcher.py test(core): Fix test suite and improve core configuration 2025-10-27 21:52:46 -05:00
file_watcher.py Almost got the mosnter finished 2025-10-27 17:41:44 -05:00
health.py Project cleanup 2025-10-31 16:54:28 -05:00
hooks.py Almost got the mosnter finished 2025-10-27 17:41:44 -05:00
ingestion.py Project cleanup 2025-10-31 16:54:28 -05:00
kb_metadata.py Almost got the mosnter finished 2025-10-27 17:41:44 -05:00
kb_types.py Almost got the mosnter finished 2025-10-27 17:41:44 -05:00
learning_jobs.py Almost got the mosnter finished 2025-10-27 17:41:44 -05:00
markdown_preprocessor.py Almost got the mosnter finished 2025-10-27 17:41:44 -05:00
rag_engine.py ✨ FEATURE: Add configurable reranker and environment validation 2025-11-04 19:16:07 +00:00
redis_config.py Almost got the mosnter finished 2025-10-27 17:41:44 -05:00
sqlite_manager.py Project cleanup 2025-10-31 16:54:28 -05:00
tree_sitter_indexer.py Fix networkx import and document testing status 2025-10-31 13:14:21 -05:00