You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(mcp): resolve MCP service breakage from missing deps, asyncio errors, and lazy imports
- Move cachetools to core dependencies (was hidden in vectordb extra, needed
by BaseRepository which every service imports)
- Make HuggingFaceEmbeddings import lazy in rag/embeddings.py so RAG service
works with OpenAI API embeddings without requiring sentence-transformers/PyTorch
- Add run_async_safely() utility to prevent "asyncio.run() cannot be called
from a running event loop" errors in rag_service and discovery/scheduler
- Fix _PromptsChangeHandler to inherit from FileSystemEventHandler (provides
required dispatch() method for watchdog)
- Fix CLI lazy loading to check sys.argv for mcp/db/setup commands before
argparse, and make MCP handler pipeline arg optional
- Fix docker-compose.dev.yml: use docker/mcp/Dockerfile with explicit command
override and PYTHONPATH for source mounts
- Remove unnecessary vectordb extra from all service groups (cachetools is
now a core dep)
- Remove redundant pydocstyle pre-commit hook (ruff already handles docstring
linting and the standalone hook conflicted with the codebase's style)
- Fix pre-existing ruff B028 and W505 lint issues in touched files
- Bump version to 0.3.0-alpha.3
- Add comprehensive regression tests for MCP config, async utils, and imports
0 commit comments