Is it possible to omit messages in StateChannels? #47

Closed
opened 2026-02-15 17:14:58 -05:00 by yindo · 2 comments
Owner

Originally created by @claritise on GitHub (Jul 11, 2024).

I am using langgraph in a way that having a messages state doesn't make sense, however it seems like the graph doesn't work without it. Is it possible at all to omit it?

Originally created by @claritise on GitHub (Jul 11, 2024). I am using langgraph in a way that having a messages state doesn't make sense, however it seems like the graph doesn't work without it. Is it possible at all to omit it?
yindo closed this issue 2026-02-15 17:14:59 -05:00
Author
Owner

@hwchase17 commented on GitHub (Jul 11, 2024):

yup! you shouldnt need a messages channel. what issue are you running into?

@hwchase17 commented on GitHub (Jul 11, 2024): yup! you shouldnt need a messages channel. what issue are you running into?
Author
Owner

@claritise commented on GitHub (Jul 11, 2024):

That is true, I accidentally forgot to omit the messages placeholder from one of my nodes. Thank you for the help Harrison :)

@claritise commented on GitHub (Jul 11, 2024): That is true, I accidentally forgot to omit the `messages` placeholder from one of my nodes. Thank you for the help Harrison :)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langgraphjs#47