-
Notifications
You must be signed in to change notification settings - Fork 65
Description
Key Issues Identified
1. Pet Clinic Agent Performance Problems
• High latency: Agent operations taking 94+ seconds to complete
• 3.85% fault rate with KeyError exceptions on 'output' field
• Stack trace errors in the Strands event loop during model execution
2. Nutrition Service Catalog Issues
• 24.61% error rate on the GET /nutrition/:pet_type endpoint
• Consistent 404 errors when trying to fetch nutrition data from the catalog
• Database connectivity issues with MongoDB (test|mongodb|27017)
3. Service Integration Problems
• The pet clinic agent calls a nutrition_agent.DEFAULT which then tries to access the nutrition-service-nodejs
• The nutrition service is returning 404 errors, indicating products aren't being found in the catalog
• This forces the agent to potentially recommend products from its training data instead of your actual catalog
Root Cause Analysis
The agent is recommending products not in your catalog because:
- Catalog lookup failures: The nutrition service is failing to find products (404 errors) when the agent queries for specific pet types
- Fallback behavior: When the catalog service fails, the agent likely falls back to its general knowledge base, recommending products it was trained on
rather than your specific inventory - Error handling gaps: The 'output' KeyError suggests the agent isn't properly handling failed catalog responses
Help! My Pet Clinic Agent is recommending nutritional products that we don't sell! @awsapm