Skip to content

How to track finish_reason when using the Runner class #1406

@paulthemagno

Description

@paulthemagno

Hi! I'm trying to figure out how to track the finish_reason of my agents when using the Runner class.
Before switching to this repo, I was monitoring the finish_reason from each completion and logging them to one of my services. Is there a similar way to do this here?

I noticed these two documentation links about exceptions:

However, I couldn’t find any specific point where finish_reason is handled.
Are they automatically managed in some way by the Agents?

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions