[GH-ISSUE #443] Documentation stream agent data to client seems related to Server Functions, not RSC #65

Open
opened 2026-02-17 17:19:06 -05:00 by yindo · 0 comments
Owner

Originally created by @lnhsingh on GitHub (Sep 9, 2025).
Original GitHub issue: https://github.com/langchain-ai/docs/issues/443

Issue with current documentation:

Related to this doc : https://js.langchain.com/docs/how_to/stream_agent_client/

Hi folks, this docs states being about React Server Components, yet I believe what it tries to show is a Server Functions (also called Server Actions in the context of forms, the new name Server Functions has been introduced recently to generalize the idea). Also it mentions a bug in RSCs with no reference.

So I believe it's slightly outdated and lead to some confusion (given that I am Next.js trainer so representative of a user that should be able to make sense of it). Sadly I don't use langchain JS version much so I am not able to bring much insights on the langchain part.

Idea or request for content:

Update the documentation to clarify whether it deals with a server function that returns messages as a stream (which I believe it is) or with RSC.

Original issue: https://github.com/langchain-ai/langchainjs/issues/8816

Originally created by @lnhsingh on GitHub (Sep 9, 2025). Original GitHub issue: https://github.com/langchain-ai/docs/issues/443 ### Issue with current documentation: Related to this doc : https://js.langchain.com/docs/how_to/stream_agent_client/ Hi folks, this docs states being about React Server Components, yet I believe what it tries to show is a Server Functions (also called Server Actions in the context of forms, the new name Server Functions has been introduced recently to generalize the idea). Also it mentions a bug in RSCs with no reference. So I believe it's slightly outdated and lead to some confusion (given that I am Next.js trainer so representative of a user that should be able to make sense of it). Sadly I don't use langchain JS version much so I am not able to bring much insights on the langchain part. ### Idea or request for content: Update the documentation to clarify whether it deals with a server function that returns messages as a stream (which I believe it is) or with RSC. Original issue: https://github.com/langchain-ai/langchainjs/issues/8816
yindo added the langchainjs/tsinternal labels 2026-02-17 17:19:06 -05:00
yindo changed title from Documentation stream agent data to client seems related to Server Functions, not RSC to [GH-ISSUE #443] Documentation stream agent data to client seems related to Server Functions, not RSC 2026-06-05 17:24:52 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/docs#65