ModelRequest
Namespace: E2E
public sealed class ModelRequestInheritance: object
Properties
Section titled “Properties”MarkLatest
Section titled “MarkLatest”public bool MarkLatest { get; init; }Upstream’s ProviderHints.markLatest, which only the act tool loop calls: the next turn repeats everything up
to the newest message, so AnthropicModel marks that message for caching. Judgments and extractions leave it off.
Value: bool
Messages
Section titled “Messages”public required IReadOnlyList<ModelMessage> Messages { get; init; }Value: IReadOnlyList<ModelMessage>
ProviderOptions
Section titled “ProviderOptions”public IReadOnlyDictionary<string, JsonElement>? ProviderOptions { get; init; }The agent’s provider options, keyed by provider, for the model to pass on. Null when none are set. OpenAiCompatibleModel adds the entry under its provider name to the request body.
Value: IReadOnlyDictionary<string, JsonElement>
System
Section titled “System”public required string System { get; init; }Value: string
public required IReadOnlyList<ModelTool> Tools { get; init; }Value: IReadOnlyList<ModelTool>