An S3 class representing one turn in a hal conversation. Turns are
returned by hal_history() and tracked internally by HalChat.
Usage
# S3 method for class 'hal_turn'
print(x, ...)Value
The print() method returns x invisibly. hal_turn objects
themselves are created internally and returned by hal_history().
Fields
roleCharacter:
"user","assistant", or"system".contentCharacter: text content of the turn.
tool_callsList of hal_tool_call objects, or
NULL.thoughtsCharacter vector of agent thought chunks, or
NULL.
