Skip to content

Pet clinic agents are recommending invalid nutritional products #190

@liustve

Description

@liustve

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:

  1. Dependency Chain: pet_clinic_agent.DEFAULT → nutrition_agent.DEFAULT → nginx-proxy → GET /nutrition
  2. High Latency: The nutrition calls are taking 74-90 seconds to complete
  3. Error Status: The nginx-proxy is returning errors when trying to access /nutrition endpoint

Immediate Actions Needed

  1. 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.

  2. Update Agent Configuration: Check your Bedrock agent configuration and remove any references to nutrition-related tools or knowledge bases.

  3. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions