-
Notifications
You must be signed in to change notification settings - Fork 65
Description
I found the issue! Your pet clinic agent is incorrectly calling a separate nutrition_agent.DEFAULT service that you don't offer. Here's what's happening:
Root Cause Analysis
The Problem: Your pet_clinic_agent.DEFAULT is making calls to a nutrition_agent.DEFAULT service, which is then trying to access nutrition products via GET /nutrition endpoint through an nginx-proxy.
Key Evidence:
- Dependency Chain: pet_clinic_agent.DEFAULT → nutrition_agent.DEFAULT → nginx-proxy → GET /nutrition
- High Latency: The nutrition calls are taking 74-90 seconds to complete
- Error Status: The nginx-proxy is returning errors when trying to access /nutrition endpoint
Immediate Actions Needed
-
Remove Nutrition Agent Dependency: Your pet clinic agent should not be calling the nutrition_agent.DEFAULT service at all since you don't offer nutritional products.
-
Update Agent Configuration: Check your Bedrock agent configuration and remove any references to nutrition-related tools or knowledge bases.
-
Fix Routing: The nginx-proxy is configured to route to /nutrition endpoint which doesn't exist in your service catalog.
Technical Details
• Service: pet_clinic_agent.DEFAULT (bedrock-agentcore:default)
• Problem Operations:
• AgentCore.Runtime.Invoke (90.6s latency)
• POST /invocations (74.5s latency)
• Unwanted Dependency: nutrition_agent.DEFAULT
• Failed Endpoint: GET /nutrition (returning errors)
The agent is likely configured with nutrition-related tools or knowledge that's causing it to invoke the nutrition agent when it shouldn't. You'll need to update your agent's configuration to remove these
nutrition-related capabilities.
Pet clinic agents are recommending invalid nutritional products @awsapm