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

devX: fail fast on interrupts with no checkpointer #796

Open
benjamincburns opened this issue Jan 23, 2025 · 0 comments
Open

devX: fail fast on interrupts with no checkpointer #796

benjamincburns opened this issue Jan 23, 2025 · 0 comments

Comments

@benjamincburns
Copy link
Contributor

benjamincburns commented Jan 23, 2025

Problem

Interrupts only work when a checkpointer is set.

Expected behavior

When a graph doesn't have a checkpointer set and a node interrupts, we should throw a useful error.

Current behavior

Repeated calls to invoke or stream behave as though the graph was interrupted with a checkpointer present. It's only if the user happens to call getState to check for interrupts (not included in our examples/docs, IIRC) that they'll see a helpful error (No checkpointer set.).

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

No branches or pull requests

1 participant