Skip to content

AttributeError: 'dict' object has no attribute 'metrics' #356

Description

@cometta
2025-12-16 09:30:13,418 - WARNING - Evaluation attempt 1/4 failed for program daccbcd0-7fb4-44bd-8052-5fb9b2f9bcd6: 'dict' object has no attribute 'metrics'
Traceback (most recent call last):
  File "python3.12/site-packages/openevolve/evaluator.py", line 195, in evaluate_program
    for name, value in llm_result.metrics.items():
                       ^^^^^^^^^^^^^^^^^^

i frequently get this error, any advice? bug in the library?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions