Skip to content

Fix agentic-rag retrieval limit wiring#21

Open
koriyoshi2041 wants to merge 1 commit into
vectorize-io:mainfrom
koriyoshi2041:rios/fix-agentic-rag-k
Open

Fix agentic-rag retrieval limit wiring#21
koriyoshi2041 wants to merge 1 commit into
vectorize-io:mainfrom
koriyoshi2041:rios/fix-agentic-rag-k

Conversation

@koriyoshi2041

@koriyoshi2041 koriyoshi2041 commented Jun 23, 2026

Copy link
Copy Markdown

Summary

  • allow RAGMode to accept a retrieval limit
  • pass that limit into memory retrieval
  • add a no-network unittest covering AgenticRAGMode construction and recall flow

Why

AgenticRAGMode currently constructs RAGMode with k=k, but RAGMode.__init__ does not accept that argument. That makes agentic-rag fail during construction before a benchmark run can start.

Validation

  • uv run python -m unittest tests.test_agentic_rag
  • uv run python -m compileall src/memory_bench/modes tests/test_agentic_rag.py
  • git diff --check

@vercel

vercel Bot commented Jun 23, 2026

Copy link
Copy Markdown

@koriyoshi2041 is attempting to deploy a commit to the Vectorize Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant