Assistant message object.
| Property | Type | Description |
|---|---|---|
| content | String | The contents of the assistant message. |
| name | String | An optional name for the participant. |
| prefix | Boolean | (Beta) Set to true to force the model to start its answer with the content of this assistant message. Requires the beta base URL. |
| reasoning_content | String | The reasoning contents of the assistant message (Chain-of-Thought) produced during thinking mode. |
| tool_calls | The tool calls generated by the model, such as function calls. | |
| INHERITED FROM Completion_Message | ||
| role | String | The role of the author of this message. |