diff --git a/CHANGELOG.md b/CHANGELOG.md index 0187f6b..82e166c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to Library Desk will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.2.1] - 2025-12-15 + +### Fixed + +- HybridRAG router missing `content_extractor` dependency causing 500 errors on `/query/hybrid` endpoint + ## [1.2.0] - 2025-12-15 ### Added diff --git a/pyproject.toml b/pyproject.toml index f47edf0..72b85a5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "library-desk" -version = "1.2.0" +version = "1.2.1" description = "Coordination service for The Library system - HybridRAG queries, document ingestion, entity extraction, and knowledge consolidation" readme = "README.md" requires-python = ">=3.12" diff --git a/src/routers/hybrid_rag.py b/src/routers/hybrid_rag.py index 4ea7ea1..adc2936 100644 --- a/src/routers/hybrid_rag.py +++ b/src/routers/hybrid_rag.py @@ -16,7 +16,7 @@ from src.clients.searxng_client import SearXNGClient from src.clients.ollama_client import OllamaClient from src.core.dependencies import ( Neo4jDep, WikiJSDep, QdrantDep, OllamaDep, - SearXNGDep, verify_api_key, get_settings + SearXNGDep, ContentExtractorDep, verify_api_key, get_settings ) from src.config import Settings @@ -32,6 +32,7 @@ def get_hybrid_rag_service( qdrant_client: QdrantDep, ollama_client: OllamaDep, searxng_client: SearXNGDep, + content_extractor: ContentExtractorDep, settings: Settings = Depends(get_settings) ) -> HybridRAGService: """Get HybridRAG service instance with all dependencies.""" @@ -48,6 +49,7 @@ def get_hybrid_rag_service( graph_service=graph_service, searxng_client=searxng_client, ollama_client=ollama_client, + content_extractor=content_extractor, settings=settings )