Skip to content

fix: Handle unknown interrupt objects #99

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

Closed
wants to merge 2 commits into from

Conversation

bracesproul
Copy link
Member

@bracesproul bracesproul commented Apr 8, 2025

  • properly render unknown interrupt objects
  • implement a way to resume the graph via chat input if an interrupt is present

Demo video

How it works

When an interrupt is received, but the value is not an instance of HumanInterrupt, we render the generic interrupt table, and below it, an input which can be used to resume the graph. Any value passed here will be set under the resume key of the Command API, and sent to the thread.

Copy link

vercel bot commented Apr 8, 2025

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

Name Status Preview Comments Updated (UTC)
langgraph-chat ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 8, 2025 9:12pm

@bracesproul
Copy link
Member Author

Closing as a standard, generic interrupt schema is being developed for LangGraph/LangSmith. Once that is done (timeline TBD) I'll reopen this PR to implement support for it.

@bracesproul bracesproul closed this Apr 9, 2025
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.

1 participant