Skip to content

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

@lulunarys

Description

@lulunarys

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    externalUser is not a member of langchain-ailangchainFor docs changes to LangChain

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions