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):
34
34
taken by the agents like function calls, etc.
35
35
36
36
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.
40
41
actions: The actions taken by the agent.
41
42
long_running_tool_ids: The ids of the long running function calls.
42
43
branch: The branch of the event.
@@ -55,9 +56,8 @@ class Event(LlmResponse):
55
56
)
56
57
"""The pydantic model config."""
57
58
58
- # TODO: revert to be required after spark migration
59
59
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. """
61
61
author : str
62
62
"""'user' or the name of the agent, indicating who appended the event to the
63
63
session."""
You can’t perform that action at this time.
0 commit comments