class LittleGhost::ModelResponse
Represents the final result shared by every provider stream. It keeps provider-specific response shapes out of the agent loop.
Attributes
The normalized assistant Message.
Frozen provider-specific response metadata.
The normalized reason the model stopped.
Provider-independent token usage for this response.
Public Class Methods
# File lib/little_ghost/model_response.rb, line 25
Coerces message to Message, normalizes stop_reason to a Symbol, and freezes metadata.