toAssistantMessageOrNull

Extracts the assistant response from frames, if any.

Return

A Message.Assistant object, or null if not found.