LangfuseHttpOptions
NexusLabs.Foundry.Langfuse¶
LangfuseHttpOptions Class¶
Configures bounded timeout and retry behavior for Langfuse REST API requests.
public sealed record LangfuseHttpOptions : System.IEquatable<NexusLabs.Foundry.Langfuse.LangfuseHttpOptions>
Inheritance System.Object 🡒 LangfuseHttpOptions
Implements System.IEquatable<LangfuseHttpOptions>
Properties¶
LangfuseHttpOptions.InitialRetryDelay Property¶
Gets or sets the initial exponential retry delay. Defaults to 200 milliseconds.
Property Value¶
LangfuseHttpOptions.MaxAttempts Property¶
Gets or sets the maximum total attempts for retry-safe operations. Defaults to three.
Property Value¶
Remarks¶
A value of one disables retries. Foundry never retries writes that lack provider-supported idempotency.
LangfuseHttpOptions.MaxRetryDelay Property¶
Gets or sets the maximum delay between attempts, including delays derived from
Retry-After. Defaults to five seconds.
Property Value¶
LangfuseHttpOptions.RequestTimeout Property¶
Gets or sets the timeout for each individual HTTP attempt. Defaults to 30 seconds.