Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,12 @@ public sealed partial class FailResult
/// <summary>
/// Initializes a new instance of the <see cref="FailResult" /> class.
/// </summary>
/// <param name="outcome">
/// Always 'fail' for FailResult.
/// </param>
/// <param name="errorMessage">
/// The error message from the validator.
/// </param>
/// <param name="outcome">
/// Always 'fail' for FailResult.
/// </param>
/// <param name="fixValue">
/// A suggested fix value from the validator.
/// </param>
Expand All @@ -82,8 +82,8 @@ public FailResult(
object? metadata,
string? validatedChunk)
{
this.ErrorMessage = errorMessage ?? throw new global::System.ArgumentNullException(nameof(errorMessage));
this.Outcome = outcome;
this.ErrorMessage = errorMessage ?? throw new global::System.ArgumentNullException(nameof(errorMessage));
this.FixValue = fixValue;
this.ErrorSpans = errorSpans;
this.Metadata = metadata;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,15 @@ public sealed partial class LLMResponse
/// <summary>
/// Initializes a new instance of the <see cref="LLMResponse" /> class.
/// </summary>
/// <param name="output">
/// The LLM output text.
/// </param>
/// <param name="promptTokenCount">
/// Number of tokens in the prompt.
/// </param>
/// <param name="responseTokenCount">
/// Number of tokens in the response.
/// </param>
/// <param name="output">
/// The LLM output text.
/// </param>
/// <param name="streamOutput">
/// Stream output chunks.
/// </param>
Expand All @@ -73,9 +73,9 @@ public LLMResponse(
global::System.Collections.Generic.IList<string>? streamOutput,
global::System.Collections.Generic.IList<string>? asyncStreamOutput)
{
this.Output = output ?? throw new global::System.ArgumentNullException(nameof(output));
this.PromptTokenCount = promptTokenCount;
this.ResponseTokenCount = responseTokenCount;
this.Output = output ?? throw new global::System.ArgumentNullException(nameof(output));
this.StreamOutput = streamOutput;
this.AsyncStreamOutput = asyncStreamOutput;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,12 @@ public sealed partial class ValidatorLog
/// <param name="registeredName">
/// The registry id of the validator.
/// </param>
/// <param name="instanceId">
/// A unique identifier for the validator instance.
/// </param>
/// <param name="propertyPath">
/// The JSON path to the validated property.
/// </param>
/// <param name="instanceId">
/// A unique identifier for the validator instance.
/// </param>
/// <param name="valueBeforeValidation">
/// The value before validation was applied.
/// </param>
Expand Down Expand Up @@ -117,8 +117,8 @@ public ValidatorLog(
{
this.ValidatorName = validatorName ?? throw new global::System.ArgumentNullException(nameof(validatorName));
this.RegisteredName = registeredName ?? throw new global::System.ArgumentNullException(nameof(registeredName));
this.PropertyPath = propertyPath ?? throw new global::System.ArgumentNullException(nameof(propertyPath));
this.InstanceId = instanceId;
this.PropertyPath = propertyPath ?? throw new global::System.ArgumentNullException(nameof(propertyPath));
this.ValueBeforeValidation = valueBeforeValidation;
this.ValueAfterValidation = valueAfterValidation;
this.ValidationResult = validationResult;
Expand Down