Skip to content

Service

logger = logging.getLogger(__name__) module-attribute

get_thread_state(client, thread_id) async

Get the state of a thread from the graph.

Roughly equivalent to
  • langgraph_sdk.threads.get_state(...)

run_any_graph(client, updatable=None, thread_id=None, graph_type=GraphType.DEBUG, inputs=None, config=None) async

run_assistant_graph(client, updatable, thread_id, graph_type, run_settings) async

Run the assistant (graph) with run_settings.

Roughly equivalent to
  • langgraph_sdk.runs.stream(...)

2024-10-11 -- For now always expecting a FullGraphState to be returned from graphs run by this interface. This could change.