Skip to content

Let AgentRunner client pass an event callback handler#200

Merged
scottpersinger merged 1 commit intomainfrom
custom_event_debug
Jun 5, 2025
Merged

Let AgentRunner client pass an event callback handler#200
scottpersinger merged 1 commit intomainfrom
custom_event_debug

Conversation

@scottpersinger
Copy link
Collaborator

I've started using some custom events, and I wanted to be able to test those getting generated when testing using the CLI. Was useful to be able to pass an event handler to the Runner so I can see all events without having to write my own Runner...

I guess another approach would be to structure the Runner so that you could subclass some method that would see each event. But this seemed a little simpler.

@scottpersinger scottpersinger merged commit 292e5bc into main Jun 5, 2025
2 checks passed
@scottpersinger scottpersinger deleted the custom_event_debug branch June 5, 2025 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants