[PR #4017] [MERGED] docs: clarify usage of thread_id and context together #4025

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

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/docs/pull/4017
Author: @open-swe[bot]
Created: 5/15/2026
Status: Merged
Merged: 5/20/2026
Merged by: @npentrel

Base: mainHead: open-swe/doc-952-thread-id-context


📝 Commits (8)

📊 Changes

27 files changed (+3341 additions, -229 deletions)

View changed files

📝 .deepagents/skills/docs-code-samples/SKILL.md (+1 -1)
src/code-samples/deepagents/deepagents-production-invoke.py (+38 -0)
src/code-samples/deepagents/deepagents-production-invoke.ts (+35 -0)
src/code-samples/langchain/agent-invocation-thread-and-context.py (+35 -0)
src/code-samples/langchain/agent-invocation-thread-and-context.ts (+52 -0)
src/code-samples/langchain/agent-invocation-thread-id.py (+37 -0)
src/code-samples/langchain/agent-invocation-thread-id.ts (+60 -0)
src/code-samples/langchain/streaming-agent-progress.py (+39 -0)
src/code-samples/langchain/streaming-agent-progress.ts (+110 -0)
src/code-samples/langchain/tool-runtime-context-thread.py (+67 -0)
src/code-samples/langchain/tool-runtime-context-thread.ts (+48 -0)
📝 src/code-samples/package-lock.json (+50 -26)
📝 src/code-samples/package.json (+5 -3)
📝 src/oss/deepagents/going-to-production.mdx (+65 -1)
📝 src/oss/langchain/agents.mdx (+32 -12)
📝 src/oss/langchain/streaming.mdx (+15 -100)
📝 src/oss/langchain/tools.mdx (+10 -86)
src/snippets/code-samples/agent-invocation-thread-and-context-js.mdx (+211 -0)
src/snippets/code-samples/agent-invocation-thread-and-context-py.mdx (+197 -0)
src/snippets/code-samples/agent-invocation-thread-id-js.mdx (+204 -0)

...and 7 more files

📄 Description

View docs here:


🔄 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/4017 **Author:** [@open-swe[bot]](https://github.com/apps/open-swe) **Created:** 5/15/2026 **Status:** ✅ Merged **Merged:** 5/20/2026 **Merged by:** [@npentrel](https://github.com/npentrel) **Base:** `main` ← **Head:** `open-swe/doc-952-thread-id-context` --- ### 📝 Commits (8) - [`997555f`](https://github.com/langchain-ai/docs/commit/997555f6c445498318d696daf0c5555b014d8348) docs: clarify usage of thread_id and context together - [`2106670`](https://github.com/langchain-ai/docs/commit/21066706fac243306890eada6a5572312b5729fc) testable - [`72bd351`](https://github.com/langchain-ai/docs/commit/72bd3519e6045d06ca64dd1bc869f5c54ed668a7) fix streaming - [`bcf8893`](https://github.com/langchain-ai/docs/commit/bcf8893e565afe9ed935fb62e1ab0a7624876f4b) rest - [`762e38a`](https://github.com/langchain-ai/docs/commit/762e38a0fe979c995a4f883f157631ad0c41417d) Apply suggestion from @christian-bromann - [`94f948c`](https://github.com/langchain-ai/docs/commit/94f948c6cf415cfa2a0f01b13503d2b1538057f8) crypto - [`84884d3`](https://github.com/langchain-ai/docs/commit/84884d39e2f2addb12894f0b5350ddd3c767e3eb) update - [`2feebd9`](https://github.com/langchain-ai/docs/commit/2feebd960747f0313c3dbc6d7eeb86954bda32e4) fixup ### 📊 Changes **27 files changed** (+3341 additions, -229 deletions) <details> <summary>View changed files</summary> 📝 `.deepagents/skills/docs-code-samples/SKILL.md` (+1 -1) ➕ `src/code-samples/deepagents/deepagents-production-invoke.py` (+38 -0) ➕ `src/code-samples/deepagents/deepagents-production-invoke.ts` (+35 -0) ➕ `src/code-samples/langchain/agent-invocation-thread-and-context.py` (+35 -0) ➕ `src/code-samples/langchain/agent-invocation-thread-and-context.ts` (+52 -0) ➕ `src/code-samples/langchain/agent-invocation-thread-id.py` (+37 -0) ➕ `src/code-samples/langchain/agent-invocation-thread-id.ts` (+60 -0) ➕ `src/code-samples/langchain/streaming-agent-progress.py` (+39 -0) ➕ `src/code-samples/langchain/streaming-agent-progress.ts` (+110 -0) ➕ `src/code-samples/langchain/tool-runtime-context-thread.py` (+67 -0) ➕ `src/code-samples/langchain/tool-runtime-context-thread.ts` (+48 -0) 📝 `src/code-samples/package-lock.json` (+50 -26) 📝 `src/code-samples/package.json` (+5 -3) 📝 `src/oss/deepagents/going-to-production.mdx` (+65 -1) 📝 `src/oss/langchain/agents.mdx` (+32 -12) 📝 `src/oss/langchain/streaming.mdx` (+15 -100) 📝 `src/oss/langchain/tools.mdx` (+10 -86) ➕ `src/snippets/code-samples/agent-invocation-thread-and-context-js.mdx` (+211 -0) ➕ `src/snippets/code-samples/agent-invocation-thread-and-context-py.mdx` (+197 -0) ➕ `src/snippets/code-samples/agent-invocation-thread-id-js.mdx` (+204 -0) _...and 7 more files_ </details> ### 📄 Description View docs here: - [`src/oss/langchain/streaming.mdx`](https://langchain-5e9cc07a-preview-opensw-1778865734-3544a9b.mintlify.app/oss/python/langchain/streaming) - [`src/oss/langchain/tools.mdx`](https://langchain-5e9cc07a-preview-opensw-1778865734-3544a9b.mintlify.app/oss/python/langchain/tools) - [`src/oss/deepagents/going-to-production.mdx`](https://langchain-5e9cc07a-preview-opensw-1778865734-3544a9b.mintlify.app/oss/python/deepagents/going-to-production) - [`src/oss/langchain/agents.mdx`](https://langchain-5e9cc07a-preview-opensw-1778865734-3544a9b.mintlify.app/oss/python/langchain/agents) --- <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:53:56 -04:00
yindo closed this issue 2026-06-05 18:53:56 -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#4025