Class LlmEndpointOptions
Typed options for . Bound from URI query parameters via reflection.
The set of accepted parameters is intentionally narrow — model, provider, version
and credentials must come from , not the URI.
public sealed class LlmEndpointOptions : EndpointOptions
Inheritance
Inherited Members
Properties
Audit
Comma-separated audit tags expressed as key=value pairs (each
public string? Audit { get; set; }
BudgetCostUsd
Per-run cost ceiling in USD. Null or 0 = no ceiling. A positive value requires an
public decimal? BudgetCostUsd { get; set; }
BudgetInputTokens
Per-run input-token budget (summed across iterations). Null = no ceiling; 0 also means no
public int? BudgetInputTokens { get; set; }
BudgetOutputTokens
Per-run output-token budget (summed across iterations). Null or 0 = no ceiling.
public int? BudgetOutputTokens { get; set; }
CacheSystemPrompt
cacheSystemPrompt=true — ask the provider to cache the system prompt so repeated
public bool CacheSystemPrompt { get; set; }
ConnectionFactory
Name of the registered in the route registry.
[RegistryReference(typeof(LlmConnectionFactory))]
public string? ConnectionFactory { get; set; }
Conversation
Conversation identifier strategy. Recognised values:
public string Conversation { get; set; }
InitialBodyRef
Optional reference to a body template used by scheduled consumers.
public string? InitialBodyRef { get; set; }
MaxIterations
Maximum tool-loop iterations the agent engine may consume for one call.
public int MaxIterations { get; set; }
PromptTemplateName
Prompt-template name persisted alongside every row of the run as
public string? PromptTemplateName { get; set; }
PromptTemplateVersion
Prompt-template version paired with .
public string? PromptTemplateVersion { get; set; }
PropagateToolHeaders
Comma-separated extra header names propagated from the agent exchange to
public string? PropagateToolHeaders { get; set; }
Schedule
Schedule expression for consumer mode (cron or fixed interval). When set on
public string? Schedule { get; set; }
Stream
Streaming mode (): stream=calls or stream=body; absent means no
public LlmStreamMode Stream { get; set; }
SystemPromptRef
Reference to a system-prompt template stored in the prompt registry
public string? SystemPromptRef { get; set; }
User
Principal identifier expression for audit. Either a literal value
public string? User { get; set; }
Methods
OptionValueHint(string)
What each streaming mode does, added to the core refusal of a value that names none.
protected override string? OptionValueHint(string optionName)
Validate()
Validates required parameters and constraints. Called after BindFromUri.
public override void Validate()