You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix MCP integration and operational issues for successful assessments
Resolves critical bugs preventing agent-to-agent shopping workflow:
- Fix MCP 421 errors: Disable DNS rebinding protection in FastMCP for
trusted Docker network communication (green_agent/src/webshop_mcp/server.py)
- Fix WebShop data access: Add WEBSHOP_DIR environment variable support
and mount full webshop directory for templates (docker-compose.yml,
green_agent/src/webshop_patched/engine.py)
- Fix LLM connectivity: Support LLM_MODEL and LLM_API_BASE environment
variables for Docker deployment (purple_agent/src/shopping_agent.py)
- Fix actions_taken tracking: Add set_action_count() method to sync MCP
session action counts with SessionState for accurate evaluation
(green_agent/src/models.py, green_agent/src/agent.py)
All fixes verified with successful 3-task assessment showing proper tool
execution (search, click, checkout) and accurate action tracking.
0 commit comments