Skip to content

Feature Request: add onStepFinish to agent.generate and agent.stream() #11468

@nicoalbanese

Description

@nicoalbanese

The agent implementation allows you to define your agent separate from where you use it, and it would be nice to extract things per step within your application, like token usage.

Metadata

Metadata

Assignees

Labels

ai/corecore functions like generateText, streamText, etc. Provider utils, and provider spec.featureNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions