Class EventActions (1.141.0)

EventActions(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Actions are parts of events that are executed by the agent.

Attributes

Name Description
skip_summarization bool
Optional. If true, it won't call model to summarize function response. Only used for function_response event.
state_delta google.protobuf.struct_pb2.Struct
Optional. Indicates that the event is updating the state with the given delta.
artifact_delta MutableMapping[str, int]
Optional. Indicates that the event is updating an artifact. key is the filename, value is the version.
escalate bool
Optional. The agent is escalating to a higher level agent.
requested_auth_configs google.protobuf.struct_pb2.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.
transfer_agent str
Optional. If set, the event transfers to the specified agent.

Classes

ArtifactDeltaEntry

ArtifactDeltaEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
Name Description
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.

Methods

EventActions

EventActions(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Actions are parts of events that are executed by the agent.