- It's not allowing me to resume the interrupt
- Simple Code:
from langgraph.graph import StateGraph, START
from langgraph.types import interrupt
from typing import TypedDict
class State(TypedDict):
foo: str
def my_node(state: State):
value = interrupt(f"Provide provide a new value. Previous value is: {state['foo']}")
return {"foo": value}
graph = StateGraph(State).add_node(my_node).add_edge(START, "my_node").add_edge("my_node", "my_node").compile()
