nemo_relay.integrations.langgraph.callbacks

View as Markdown

Generated from python/nemo_relay/integrations/langgraph/callbacks.py.

Module nemo_relay.integrations.langgraph.callbacks.

LangGraph callback handler that reuses the LangChain NeMo Relay integration.

Classes

NemoRelayCallbackHandler(LangChainNemoRelayCallbackHandler, GraphCallbackHandler)

Bridge LangChain and LangGraph runs to NeMo Relay using public callback APIs.

Methods

on_interrupt
1def on_interrupt(event: GraphInterruptEvent) -> Any

Emit a NeMo Relay mark for a LangGraph interrupt lifecycle event.

on_resume
1def on_resume(event: GraphResumeEvent) -> Any

Emit a NeMo Relay mark for a LangGraph resume lifecycle event.