Skip to main content

completion_text

Function completion_text 

Source
pub fn completion_text(response: &AggLlmResponse) -> String
Expand description

Returns a lossy text view of the first assistant output.

Only text blocks from the first output are concatenated. Refusals, reasoning, tools, media, and additional outputs are omitted. Returns an empty string when no such text exists.