ModelIoItem
One captured model message. Content.
An object with 10 fields.
Fields
| Field | Type | Required | Description |
|---|---|---|---|
at_ms | integer | yes | |
content | string | yes | The message as rendered for, or returned by, the model. Never logged. |
kind | ModelIoItemKind or null | no | What the message is (1.58.0); null when the worker did not say, and absent from an api older than 1.58.0. |
model | string or null | yes | |
provider | ProviderId or null | yes | |
request_id | string or null | no | The Provider's id of the model request the message belongs to (1.58.0), when it reports one; else null, and absent from an api older than 1.58.0. |
role | ModelIoRole | yes | |
round | integer | yes | The model round in the Turn: 0, then one more per Tool result sent back. |
tokens | integer or null | yes | The tokens the Provider counted for this message, when it reports them. |
turn_seq | integer | yes |