The returned result from the Agent for a session exchange.
Name | Type | Required | Description |
---|---|---|---|
agent_markdown_response | AgentMarkdownResponse | Yes | The final text response generated by the Agent. Responses are formatted using markdown. |
parameter_updates | Dict[ParameterId, ParameterValueUpdate] | Yes | Any updates to application variable values which were generated by the Agent for this exchange. Updates can only be generated for application variables configured with READ_WRITE access on the Agent in AIP Agent Studio. |
total_tokens_used | Optional[int] | No | Total tokens used to compute the result. Omitted if token usage information is not supported by the model used for the session. |
interrupted_output | bool | Yes | True if the exchange was canceled. In that case, the response (if any) was provided by the client as part of the cancellation request rather than by the Agent. |