[GH-ISSUE #1038] [langchain]: Inconsistency in migration guide and short-term memory docs #136

Closed
opened 2026-02-17 17:19:15 -05:00 by yindo · 1 comment
Owner

Originally created by @loganrosen on GitHub (Oct 20, 2025).
Original GitHub issue: https://github.com/langchain-ai/docs/issues/1038

Type of issue

issue / bug

Language

Python

Description

In the runtime context section in the migration guide, it recommends using context and context_schema in order to pass runtime context to the agent, and that the config["configurable"] pattern is only present for backwards compatibility. However, in the short-term memory guide, it shows using the old config["configurable"] pattern to set a thread_id. Shouldn't it use context for consistency/to encourage the new pattern?

Originally created by @loganrosen on GitHub (Oct 20, 2025). Original GitHub issue: https://github.com/langchain-ai/docs/issues/1038 ### Type of issue issue / bug ### Language Python ### Description In [the runtime context section](https://docs.langchain.com/oss/python/migrate/langchain-v1#runtime-context) in the migration guide, it recommends using `context` and `context_schema` in order to pass runtime context to the agent, and that the `config["configurable"]` pattern is only present for backwards compatibility. However, in the [short-term memory](https://docs.langchain.com/oss/python/langchain/short-term-memory) guide, it shows using the old `config["configurable"]` pattern to set a `thread_id`. Shouldn't it use context for consistency/to encourage the new pattern?
yindo added the langchain label 2026-02-17 17:19:15 -05:00
yindo closed this issue 2026-02-17 17:19:15 -05:00
Author
Owner

@sydney-runkle commented on GitHub (Oct 21, 2025):

We still use config/configurable for thread information :// but we're working on a new API that would support that at the top level.

Thanks for calling out this inconsistency. Going to close this specific issue since we have tracking for this on the LangGraph front 👍

@sydney-runkle commented on GitHub (Oct 21, 2025): We still use config/configurable for thread information :// but we're working on a new API that would support that at the top level. Thanks for calling out this inconsistency. Going to close this specific issue since we have tracking for this on the LangGraph front 👍
yindo changed title from [langchain]: Inconsistency in migration guide and short-term memory docs to [GH-ISSUE #1038] [langchain]: Inconsistency in migration guide and short-term memory docs 2026-06-05 17:25:16 -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#136