ModelMessage
Namespace: E2E
public sealed class ModelMessageInheritance: object
Properties
Section titled “Properties”Content
Section titled “Content”public string? Content { get; init; }Value: string
Images
Section titled “Images”public IReadOnlyList<ModelImage>? Images { get; init; }The images that go with a user turn, after its text. A provider sends them as the turn’s image parts; on any other role they are not sent.
Value: IReadOnlyList<ModelImage>
public string? Name { get; init; }Value: string
ReasoningItems
Section titled “ReasoningItems”public IReadOnlyList<JsonElement>? ReasoningItems { get; init; }The reasoning the model returned with this turn, sent back as it came: encrypted items for OpenAiResponsesModel, signed thinking blocks for AnthropicModel, thought parts for GoogleModel, the reasoningContent blocks for BedrockModel, the reasoning text as a JSON string for OpenAiCompatibleModel.
Value: IReadOnlyList<JsonElement>
public required string Role { get; init; }Value: string
ToolCallId
Section titled “ToolCallId”public string? ToolCallId { get; init; }Value: string
ToolCalls
Section titled “ToolCalls”public IReadOnlyList<ModelToolCall>? ToolCalls { get; init; }Value: IReadOnlyList<ModelToolCall>