File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -34,9 +34,10 @@ class Event(LlmResponse):
3434 taken by the agents like function calls, etc.
3535
3636 Attributes:
37- invocation_id: The invocation ID of the event.
38- author: "user" or the name of the agent, indicating who appended the event
39- to the session.
37+ invocation_id: Required. The invocation ID of the event. Should be non-empty
38+ before appending to a session.
39+ author: Required. "user" or the name of the agent, indicating who appended
40+ the event to the session.
4041 actions: The actions taken by the agent.
4142 long_running_tool_ids: The ids of the long running function calls.
4243 branch: The branch of the event.
@@ -55,9 +56,8 @@ class Event(LlmResponse):
5556 )
5657 """The pydantic model config."""
5758
58- # TODO: revert to be required after spark migration
5959 invocation_id : str = ''
60- """The invocation ID of the event."""
60+ """The invocation ID of the event. Should be non-empty before appending to a session. """
6161 author : str
6262 """'user' or the name of the agent, indicating who appended the event to the
6363 session."""
You can’t perform that action at this time.
0 commit comments