Skip to content

SharedV4Warning

Namespace: E2E.Decision.Sdk

public sealed record SharedV4Warning : IEquatable<SharedV4Warning>

The AI SDK’s SharedV4Warning (shared/v4/shared-v4-warning.ts): a warning from the model, for example that a feature is unsupported or that a compatibility mode is used. Type is unsupported, compatibility, deprecated, or other; the fields that type does not have are null.

Inheritance: object

Implements: IEquatable<SharedV4Warning>

View source

public string? Details { get; init; }

Additional details about the warning (unsupported and compatibility).

Value: string

public string? Feature { get; init; }

The feature that is not supported or used in a compatibility mode (unsupported and compatibility).

Value: string

public string? Message { get; init; }

The message of the warning (deprecated and other).

Value: string

public string? Setting { get; init; }

The deprecated setting or feature name (deprecated).

Value: string

public required string Type { get; init; }

The kind of warning: unsupported, compatibility, deprecated, or other.

Value: string