append_assistant_chunk


Description:

public void append_assistant_chunk (string new_text, Chat response)

Appends a streaming chunk from the assistant.

This method efficiently updates only the current chunk being streamed, re-rendering markdown from the last double line break to the end.

Parameters:

new_text

The new text chunk to append

message

The ChatContentInterface object (ChatResponse for assistant messages)

Since:

1.0