mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-09-10 03:37:51 +02:00
fix(langgraph): rename ProtocolEvent.eventId to event_id to match the wire field (#7942)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user