fix(langgraph): rename ProtocolEvent.eventId to event_id to match the wire field (#7942)

This commit is contained in:
Nick Hollon
2026-05-29 14:46:59 -04:00
committed by GitHub
parent 64bd4d1f13
commit b7fd3cf9c4
+1 -1
View File
@@ -35,7 +35,7 @@ class ProtocolEvent(TypedDict):
"""
type: Literal["event"]
eventId: NotRequired[str]
event_id: NotRequired[str] # snake_case to match the langchain-protocol wire field
seq: NotRequired[int]
method: str # StreamMode value: "values", "messages", "custom", etc.
params: _ProtocolEventParams