Skip to content

Petclinic agent hallucinating #186

@sguruvar

Description

@sguruvar

Root Cause Analysis

The Problem: Your petclinic agent is recommending products for pet types that don't exist in your nutrition catalog, causing a cascade of failures.

Key Findings from Internal Analytics:

  1. Pet Clinic Agent Flow:
    • pet_clinic_agent.DEFAULT → nutrition_agent.DEFAULT → nginx-proxy → nutrition-service-nodejs
    • The agent is experiencing 90+ second latencies due to failed nutrition lookups

  2. Missing Pet Types in Catalog:
    Your nutrition service is returning 404 errors for these pet types that the agent is trying to recommend:
    puppy (not "dog")
    llama
    rabbit
    toucan
    flying squirrel

  3. Working Pet Types:
    Your catalog only contains:
    cat
    dog
    bird

  4. Error Rate: 15.89% error rate on nutrition lookups, with 718 failed requests in the last 6 hours
    @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