Skip to content

Conversation

@dqbd
Copy link
Collaborator

@dqbd dqbd commented Sep 15, 2025

Trimmed version of useStream that does not imply usage with LangGraph API, rather just relying on streaming output of toLangGraphEventStream / toLangGraphEventStreamResponse

Usage:

const stream = useStream({
  transport: new FetchStreamTransport({ apiUrl: "/api/stream" })
})

Related PR: #1554

@changeset-bot
Copy link

changeset-bot bot commented Sep 15, 2025

⚠️ No Changeset found

Latest commit: a256b02

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@dqbd dqbd changed the title feat(sdk): introduce useStreamCustom using barebones streaming protocol feat(sdk): introduce useStream custom variant using barebones streaming protocol Sep 15, 2025
@dqbd dqbd changed the title feat(sdk): introduce useStream custom variant using barebones streaming protocol feat(sdk): introduce useStream custom variant using manual streaming protocol Sep 15, 2025
@dqbd dqbd marked this pull request as ready for review September 15, 2025 16:00
@dqbd dqbd changed the title feat(sdk): introduce useStream custom variant using manual streaming protocol feat(sdk): useStream with custom transport Sep 15, 2025
@dqbd dqbd merged commit 177ae36 into v1 Sep 18, 2025
12 checks passed
@dqbd dqbd deleted the dqbd/use-stream-custom branch September 18, 2025 15:58
dqbd added a commit that referenced this pull request Sep 18, 2025
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