haiku.rag/app/backend
Yiorgis Gozadinos 8b7c679159
Add SearchAgent for internal query expansion
SearchAgent generates 2-4 diverse search queries internally,
runs them against the knowledge base, deduplicates by chunk_id,
and returns consolidated results. This prevents the outer chat
agent from making multiple search calls.

Also updates system prompt to enforce single tool calls per message.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-12 12:36:30 +02:00
..
agent.py Add SearchAgent for internal query expansion 2026-01-12 12:36:30 +02:00
Dockerfile Basic frontend 2026-01-12 12:36:28 +02:00
main.py Visual grounding; 2026-01-12 12:36:30 +02:00
pyproject.toml Logfire integration for debugging 2026-01-12 12:36:29 +02:00
search_agent.py Add SearchAgent for internal query expansion 2026-01-12 12:36:30 +02:00