-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Privileged issue
- I am a LangGraph maintainer, or was asked directly by a LangGraph maintainer to create an issue here.
Issue Content
When interrupting with interrupt(value: str), users should be able to specify an InputSchema that enforces the format the interrupt can be resumed with.
Expected behaviors:
- If a resume map is provided and the response format does not match InputSchema, re-raise the interrupt
- If a null resume is provided and there is one pending interrupt, and the response format does not match, re-raise the interrupt
- If the response format does match InputSchema, resume the interrupt
isahers1
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request