Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set store & stream writer #4044

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Set store & stream writer #4044

wants to merge 1 commit into from

Conversation

hinthornw
Copy link
Contributor

No description provided.

Copy link

vercel bot commented Mar 26, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
langgraph-docs-preview ⬜️ Ignored (Inspect) Mar 26, 2025 10:18pm

Copy link
Contributor

@nfcampos nfcampos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't this potentially set things globally?

@hinthornw
Copy link
Contributor Author

Ya it would, which I suppose could create memory leaks.

Context for this was that some people wanted to do graph.nodes["my_node"].invoke() with store. Could also just continue recommending:

from langgraph.constants import CONF, CONFIG_KEY_STORE

config = {CONF: {CONFIG_KEY_STORE: my_store, thread_id: str(uuid.uuid4())}}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants