diff --git a/src/haiku/rag/a2a.py b/src/haiku/rag/a2a.py index 38020e68..bcd1692f 100644 --- a/src/haiku/rag/a2a.py +++ b/src/haiku/rag/a2a.py @@ -262,8 +262,6 @@ def create_a2a_app(db_path: Path): Returns chunks of text with their relevance scores and document URIs. Use get_full_document if you need to see the complete document content. """ - # Remove quotes from queries as this requires positional indexing in lancedb - query = query.replace('"', "") search_results = await ctx.deps.client.search(query, limit=limit) expanded_results = await ctx.deps.client.expand_context(search_results) diff --git a/src/haiku/rag/qa/agent.py b/src/haiku/rag/qa/agent.py index e8157205..f1abe7ab 100644 --- a/src/haiku/rag/qa/agent.py +++ b/src/haiku/rag/qa/agent.py @@ -54,9 +54,6 @@ class QuestionAnswerAgent: limit: int = 3, ) -> list[SearchResult]: """Search the knowledge base for relevant documents.""" - - # Remove quotes from queries as this requires positional indexing in lancedb - query = query.replace('"', "") search_results = await ctx.deps.client.search(query, limit=limit) expanded_results = await ctx.deps.client.expand_context(search_results)