Skip to content

Conversation

dqbd
Copy link
Collaborator

@dqbd dqbd commented Sep 18, 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

Copy link

changeset-bot bot commented Sep 18, 2025

🦋 Changeset detected

Latest commit: 0deaaea

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@langchain/langgraph-sdk Patch

Not sure what this means? Click here to learn what changesets are.

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

@dqbd dqbd changed the title feat(sdk): introduce useStreamCustom using barebones streaming protocol feat(sdk): useStream with custom transport Sep 18, 2025
@dqbd dqbd merged commit b65c80b into main Sep 19, 2025
20 checks passed
@dqbd dqbd deleted the dqbd/use-stream-custom branch September 19, 2025 00:11
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.

1 participant