Class MultiPartResponse

java.lang.Object
uno.anahata.ai.tools.MultiPartResponse

public class MultiPartResponse extends Object
A special return type for tools that need to send multiple, distinct parts back to the model in a subsequent user message.

This is primarily used for tools that generate files (like screenshots or other media) and need to return the file paths to the client application, which will then construct and send the actual file content as new Parts.

Author:
Anahata
  • Constructor Details

    • MultiPartResponse

      public MultiPartResponse()