Skip to content

Interrupt not showing in the latest version #32

@Saisiva123

Description

@Saisiva123
  1. 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()

  • Attached Image:
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions