send_append


Description:

public async Chat send_append (ArrayList<Message> new_messages, Cancellable? cancellable = null) throws Error

Appends new messages to existing messages and sends them.

Convenience method for continuing conversations after tool execution. Appends the provided messages to this.messages and then calls send().

Parameters:

new_messages

Messages to append to existing messages

cancellable

Optional cancellation token

Returns:

The Response from executing the chat call

Exceptions:

Error

if send fails