Skip to content

Docs suggest useCompletion supports "data-" streaming but no way to access? #11619

@RohilH

Description

@RohilH

Description

The docs suggest that useCompletion should support data streams, yet, there doesn't seem to be a way to access this? Are the docs wrong? or is there a way to access data streams from useCompletions? I'd like to avoid having to change all of my useCompletion calls to useChat in order to migrate to vercel v5.

AI SDK Version

@ai-sdk/react

  • ai: 5.0.8

Code of Conduct

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

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