EventActions class final
Actions are parts of events that are executed by the agent.
- Inheritance
-
- Object
- ProtoMessage
- EventActions
Constructors
-
EventActions({bool skipSummarization = false, Struct? stateDelta, Map<
String, int> artifactDelta = const {}, bool transferToAgent = false, bool escalate = false, Struct? requestedAuthConfigs, String transferAgent = ''}) - EventActions.fromJson(Object? j)
-
factory
Properties
-
artifactDelta
→ Map<
String, int> -
Optional. Indicates that the event is updating an artifact. key is the
filename, value is the version.
final
- escalate → bool
-
Optional. The agent is escalating to a higher level agent.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- qualifiedName → String
-
The fully qualified name of this message, i.e.,
google.protobuf.Durationorgoogle.rpc.ErrorInfo.finalinherited - requestedAuthConfigs → Struct?
-
Optional. Will only be set by a tool response indicating tool request euc.
Struct key is the function call id since one function call response (from
model) could correspond to multiple function calls. Struct value is the
required auth config, which can be another struct.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- skipSummarization → bool
-
Optional. If true, it won't call model to summarize function response.
Only used for function_response event.
final
- stateDelta → Struct?
-
Optional. Indicates that the event is updating the state with the given
delta.
final
- transferAgent → String
-
Optional. If set, the event transfers to the specified agent.
final
- transferToAgent → bool
-
Deprecated. If set, the event transfers to the specified agent.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Object -
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- fullyQualifiedName → const String