Skip to content

tool.onInputAvailable can be called without onInputStart being called #11043

@SamyPesse

Description

@SamyPesse

Description

I noticed that the AI SDK can call onInputAvailable without ever calling onInputStart; forcing the logic to take this into consideration.

I'm wondering if onInputStart should not be called in ALL cases (even if the input is available in one go).

AI SDK Version

  • ai: 5.0.107

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions