tinker_cookbook.renderers.Message
class tinker_cookbook.renderers.Message(TypedDict)
Container for a single turn in a multi-turn conversation.
Fields:
- role (Role)
- content (Content)
- tool_calls (NotRequired[list[ToolCall]])
- unparsed_tool_calls (NotRequired[list['UnparsedToolCall']])
- trainable (NotRequired[bool])
- tool_call_id (NotRequired[str])
- name (NotRequired[str])