Skip to content

Agent Evaluator print_detailed_results output is not readable #3363

@nimanthadilz

Description

@nimanthadilz

Describe the bug
The output printed by AgentEvaluator class's _print_details method is not readable when the columns have long text (ex: expected_response & actual_response). See screenshots below.

To Reproduce
Steps to reproduce the behavior:

  1. Any agent setup (better if agent outputs a long response)
  2. Create a test_config.json and an evalset file for the above agent
  3. Run the evalset with either adk eval command or using pytest as mentioned here.

If you want a quick way to check this, I have a sample GitHub repo with a simple setup to reproduce this here (Make sure to use reproduce-print-detailed-results git branch).

Expected behavior
A more readable output should be printed when using print_detailed_results as shown in the Screenshots.

Screenshots
Not readable output:
Image

More readable output (after fixing this issue):
Image

Desktop (please complete the following information):

  • OS: Windows 11
  • Python version: 3.13.2
  • ADK version: 1.17.0

Model Information:

  • Are you using LiteLLM: No
  • Which model is being used: gemini-2.0-flash

Metadata

Metadata

Labels

eval[Component] This issue is related to evaluation

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions