Class LlmRequest
Single completion request sent to a provider.
public sealed class LlmRequest
Inheritance
Properties
CacheSystemPrompt
Ask the provider to mark the system prompt as cacheable, so repeated turns re-read it
public bool CacheSystemPrompt { get; init; }
Messages
Conversation history including the current user turn.
public IReadOnlyList<LlmMessage> Messages { get; init; }
ModelId
Model identifier (overrides the factory default when set).
public string? ModelId { get; init; }
Tools
Tool capabilities exposed to the model. Empty = no tools.
public IReadOnlyList<LlmToolCapability> Tools { get; init; }