LettaAPI.Model.LettaResponse (letta_api v1.0.0)

Response object from an agent interaction, consisting of the new messages generated by the agent and usage statistics. The type of the returned messages can be either Message or LettaMessage, depending on what was specified in the request. Attributes: messages (List[Union[Message, LettaMessage]]): The messages returned by the agent. usage (LettaUsageStatistics): The usage statistics

Summary

Types

t()

@type t() :: %LettaAPI.Model.LettaResponse{
  messages: [LettaAPI.Model.LettaMessageUnion.t()],
  usage: LettaAPI.Model.LettaUsageStatistics.t()
}

Functions

decode(value)