Skip to content

oss: system message with langchain and langgraph #433

Description

@robertotup

URL

https://python.langchain.com/docs/concepts/messages/

Checklist

  • I added a very descriptive title to this issue.
  • I included a link to the documentation page I am referring to (if applicable).

Issue with current documentation:

Let's say invoke the llm once with both system message and user message
Next time, do I need to feed the system message again? It's not clear from the documentation.

In particular, I don't understand what happens when using checkpoint memory in langgraph. In that case, can I just feed messages with no system message after the first time I run invoke with a node?

Idea or request for content:

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    langchainFor docs changes to LangChainlanggraphFor docs changes to LangGraphpythonFor content related to the Python version of LangChain projects

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions