Interface MessageStatus

All Known Implementing Classes:
MessageStatus.Consumed, MessageStatus.Dropped, MessageStatus.ForCurrentTask, MessageStatus.Held, MessageStatus.Rejected, MessageStatus.Unknown

The status of a message that a client sent to an autonomous agent with AutonomousAgentClient.sendMessage(AgentMessage).
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final record 
    The agent stored the outcome of the model call that saw the message.
    static final record 
    The task ended before the agent consumed the message.
    static final record 
    The message is for the current task, and the model sees it in its next request for that task.
    static final record 
    The message waits until the task taskId starts, or until the next task starts when taskId is empty.
    static final record 
    The agent rejected the message and did not store it.
    static final record 
    A newer runtime reported a status that this version of the SDK does not know.