Class PushMessageRequest

java.lang.Object
io.agentscope.core.studio.pojo.PushMessageRequest

public class PushMessageRequest extends Object
Request payload for pushing a message to Studio.

This is sent via POST /trpc/pushMessage to display messages in the Studio UI.

  • Method Details

    • getRunId

      public String getRunId()
      Gets the run ID for this message.
      Returns:
      the run ID
    • getReplyId

      public String getReplyId()
      Gets the reply ID for this message.
      Returns:
      the reply ID, or null if this is not a reply
    • getName

      public String getName()
      Gets the agent name that produced this message.
      Returns:
      the agent name
    • getRole

      public String getRole()
      Gets the role of the message sender.
      Returns:
      the role (e.g., "assistant", "user")
    • getMsg

      public io.agentscope.core.message.Msg getMsg()
      Gets the message content.
      Returns:
      the message object
    • builder

      public static PushMessageRequest.Builder builder()