Interface Agent.StreamEffect.OnSuccessBuilder

Enclosing interface:
Agent.StreamEffect

public static interface Agent.StreamEffect.OnSuccessBuilder
  • Method Details

    • thenReply

      Agent.StreamEffect thenReply()
      Reply with the response from the model.
      Returns:
      A message reply.
    • thenReply

      Agent.StreamEffect thenReply(Metadata metadata)
      Reply with the response from the model.
      Parameters:
      metadata - The metadata for the message.
      Returns:
      A message reply.