Package akka.javasdk.agent.autonomous
Interface MessageStatus
- All Known Implementing Classes:
MessageStatus.Consumed,MessageStatus.Dropped,MessageStatus.ForCurrentTask,MessageStatus.Held,MessageStatus.Rejected,MessageStatus.Unknown
public sealed interface MessageStatus
permits MessageStatus.ForCurrentTask, MessageStatus.Held, MessageStatus.Consumed, MessageStatus.Dropped, 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 ClassesModifier and TypeInterfaceDescriptionstatic final recordThe agent stored the outcome of the model call that saw the message.static final recordThe task ended before the agent consumed the message.static final recordThe message is for the current task, and the model sees it in its next request for that task.static final recordThe message waits until the tasktaskIdstarts, or until the next task starts whentaskIdis empty.static final recordThe agent rejected the message and did not store it.static final recordA newer runtime reported a status that this version of the SDK does not know.