[GH-ISSUE #2042] [langchain]: Typo correction for short-term memory docs in Langchain python version #259

Closed
opened 2026-02-17 17:19:30 -05:00 by yindo · 0 comments
Owner

Originally created by @lulunarys on GitHub (Dec 29, 2025).
Original GitHub issue: https://github.com/langchain-ai/docs/issues/2042

Type of issue

issue / bug

Language

Python

Description

In short-term memory docs in Langchain python version, there exists a typo. Here is the exact location (doc link).

"Read short-term memory in a tool

Access short term memory (state) in a tool using the ToolRuntime parameter.

The tool_runtime parameter is hidden from the tool signature (so the model doesn’t see it), but the tool can access the state through it..."

The parameters shown in the demo code only contain ToolRuntime while the "tool_runtime" is related in the above sentence. It seems that the tool_runtime should be rectified as ToolRuntime.

Originally created by @lulunarys on GitHub (Dec 29, 2025). Original GitHub issue: https://github.com/langchain-ai/docs/issues/2042 ### Type of issue issue / bug ### Language Python ### Description In short-term memory docs in Langchain python version, there exists a typo. Here is the exact location ([doc link](https://docs.langchain.com/oss/python/langchain/short-term-memory)). "Read short-term memory in a tool Access short term memory (state) in a tool using the **ToolRuntime** parameter. The **tool_runtime** parameter is hidden from the tool signature (so the model doesn’t see it), but the tool can access the state through it..." The parameters shown in the demo code only contain ToolRuntime while the "tool_runtime" is related in the above sentence. It seems that the tool_runtime should be rectified as ToolRuntime.
yindo added the langchainexternal labels 2026-02-17 17:19:30 -05:00
yindo closed this issue 2026-02-17 17:19:30 -05:00
yindo changed title from [langchain]: Typo correction for short-term memory docs in Langchain python version to [GH-ISSUE #2042] [langchain]: Typo correction for short-term memory docs in Langchain python version 2026-06-05 17:25:55 -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#259