Commit History
-
feat(agent): add file URL support to agent query handling
Add optional `file_url` parameter to `run()` and `BasicAgent.__call__()` methods. When a task_id is available, construct and pass the file URL to the agent alongside the question text, allowing the supervisor to access attached files during processing.01faebd
-
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 -
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