Package akka.javasdk.agent
Interface Agent.Effect.FailureBuilder<Result>
- Enclosing interface:
Agent.Effect<T>
public static interface Agent.Effect.FailureBuilder<Result>
-
Method Summary
Modifier and TypeMethodDescriptionReply with the response from the model.Reply with the response from the model.
-
Method Details
-
thenReply
Agent.Effect<Result> thenReply()Reply with the response from the model.- Returns:
- A message reply.
-
thenReply
Reply with the response from the model.- Parameters:
metadata
- The metadata for the message.- Returns:
- A message reply.
-