[PR #3470] [MERGED] feat: add thread streaming documentation [closes DOC-940] #3518

Closed
opened 2026-06-05 18:23:22 -04:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/docs/pull/3470
Author: @open-swe[bot]
Created: 4/7/2026
Status: Merged
Merged: 4/7/2026
Merged by: @hntrl

Base: mainHead: open-swe/a1a998d0-9b56-54c8-fc2f-c89b929c9fed


📝 Commits (2)

  • 60f3c23 Add thread streaming documentation with SDK examples, stream modes, resumability, and comparison table
  • 1473175 Style updates

📊 Changes

1 file changed (+124 additions, -5 deletions)

View changed files

📝 src/langsmith/streaming.mdx (+124 -5)

📄 Description

Description

Adds a comprehensive "Thread streaming" section to the Streaming API page. The existing page only documented run streaming (client.runs.stream()), but the thread streaming API (client.threads.join_stream() / GET /threads/{thread_id}/stream) was undocumented. The new section covers basic usage, thread stream modes (run_modes, lifecycle, state_update), resumability via Last-Event-ID, and a comparison table between thread streaming and run streaming.

Resolves DOC-940

Test Plan

  • Verify the new Thread streaming section renders correctly in preview deployment
  • Verify all internal links resolve correctly

Opened collaboratively by Kathryn May and open-swe.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/docs/pull/3470 **Author:** [@open-swe[bot]](https://github.com/apps/open-swe) **Created:** 4/7/2026 **Status:** ✅ Merged **Merged:** 4/7/2026 **Merged by:** [@hntrl](https://github.com/hntrl) **Base:** `main` ← **Head:** `open-swe/a1a998d0-9b56-54c8-fc2f-c89b929c9fed` --- ### 📝 Commits (2) - [`60f3c23`](https://github.com/langchain-ai/docs/commit/60f3c231f2d925d8a223dc8b1f269192c07a5046) Add thread streaming documentation with SDK examples, stream modes, resumability, and comparison table - [`1473175`](https://github.com/langchain-ai/docs/commit/1473175278d29a653b778507ccd08d0755cbc728) Style updates ### 📊 Changes **1 file changed** (+124 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `src/langsmith/streaming.mdx` (+124 -5) </details> ### 📄 Description ## Description Adds a comprehensive "Thread streaming" section to the Streaming API page. The existing page only documented run streaming (`client.runs.stream()`), but the thread streaming API (`client.threads.join_stream()` / `GET /threads/{thread_id}/stream`) was undocumented. The new section covers basic usage, thread stream modes (`run_modes`, `lifecycle`, `state_update`), resumability via `Last-Event-ID`, and a comparison table between thread streaming and run streaming. Resolves DOC-940 ## Test Plan - [ ] Verify the new Thread streaming section renders correctly in preview deployment - [ ] Verify all internal links resolve correctly _Opened collaboratively by Kathryn May and open-swe._ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-06-05 18:23:22 -04:00
yindo closed this issue 2026-06-05 18:23:22 -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#3518