Commit History
-
refactor(agent): prioritize accuracy in math solver tool instructions
Clarify that accuracy is the primary concern when using the math_solver tool for checking calculations. The instruction now explicitly states accuracy as the most important factor, ensuring the supervisor agent emphasizes precision over speed or convenience when routing math-related queries.0019780 -
chore(agent): enhance supervisor prompts and increase websearch recursion limit
Add "any" and "must" to make supervisor routing directives more emphatic and increase websearch recursion_limit from 3 to 6 to allow more thorough search results314810a -
fix(websearch): add recursion limit and error handling for search agent
Add recursion_limit=3 configuration and GraphRecursionError handling to prevent infinite loops in the web search agent. The agent now returns a partial result message when the recursion limit is reached instead of crashing.cee18af -
chore: remove __pycache__ bytecode files from version control
2f08174 -
feat(agent): implement supervisor agent with tool routing and math solver
- Replace single websearch agent with supervisor agent architecture - Add math_solver tool using sympy for calculation queries - Implement tool routing logic (math vs web search) in supervisor prompt - Add interactive chat loop with conversation history - Enhance terminal output with colored logging (colorama) - Update dependencies: sympy, colorama40deb66 -
feat(agent): add web search agent with LangGraph and Tavily integration
- Created agent module with websearch_agent and run() entrypoint - Implemented Tavily search tool (max_results=10) - Updated Gradio app to use the new agent instead of fixed answers - Added dependencies: langchain, langchain-google-genai, langgraph, tavily-python - Added .env.example for API key configuration (GOOGLE_API_KEY, TAVILY_API_KEY) - Updated README with setup and usage documentation - Removed old template files (main.py, pyproject.toml)a877f54