stream_chunk


Description:

public signal void stream_chunk (string new_text, bool is_thinking, Chat response)

Emitted when a streaming chunk is received from the chat API.

Parameters:

new_text

The new text chunk received

is_thinking

Whether this chunk is thinking content (true) or regular content (false)

response

The Response object containing the streaming state

Since:

1.0