AI-Studio/app/MindWork AI Studio/Assistants/VisualBriefing/VisualBriefingStructuredResponseIssueKind.cs
Thorsten Sommer 58cc811a58
Some checks failed
Build and Release / Determine run mode (push) Has been cancelled
Build and Release / Read metadata (push) Has been cancelled
Build and Release / Sync Flatpak repo (push) Has been cancelled
Build and Release / Collect Flatpak artifacts (push) Has been cancelled
Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-aarch64-apple-darwin, osx-arm64, macos-latest, aarch64-apple-darwin, dmg,app,updater, dmg) (push) Has been cancelled
Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-aarch64-pc-windows-msvc.exe, win-arm64, windows-latest, aarch64-pc-windows-msvc, nsis,updater, nsis) (push) Has been cancelled
Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-aarch64-unknown-linux-gnu, linux-arm64, ubuntu-22.04-arm, aarch64-unknown-linux-gnu, appimage,updater, appimage) (push) Has been cancelled
Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-x86_64-apple-darwin, osx-x64, macos-latest, x86_64-apple-darwin, dmg,app,updater, dmg) (push) Has been cancelled
Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-x86_64-pc-windows-msvc.exe, win-x64, windows-latest, x86_64-pc-windows-msvc, nsis,updater, nsis) (push) Has been cancelled
Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-x86_64-unknown-linux-gnu, linux-x64, ubuntu-22.04, x86_64-unknown-linux-gnu, appimage,updater, appimage) (push) Has been cancelled
Build and Release / Prepare & create release (push) Has been cancelled
Build and Release / Publish release (push) Has been cancelled
Added the visual briefing assistant (#893)
2026-08-02 21:41:12 +02:00

43 lines
1.4 KiB
C#

using System.Text.Json.Serialization;
namespace AIStudio.Assistants.VisualBriefing;
/// <summary>
/// Identifies a content-free reason why a structured model response could not be accepted.
/// </summary>
[JsonConverter(typeof(JsonStringEnumConverter<VisualBriefingStructuredResponseIssueKind>))]
public enum VisualBriefingStructuredResponseIssueKind
{
/// <summary>No structured-response issue occurred.</summary>
NONE,
/// <summary>The provider response was empty.</summary>
EMPTY_RESPONSE,
/// <summary>The JSON root was not an object.</summary>
ROOT_NOT_OBJECT,
/// <summary>The JSON response ended before the document was complete.</summary>
UNEXPECTED_END,
/// <summary>Non-whitespace content followed the JSON object.</summary>
TRAILING_CONTENT,
/// <summary>The candidate contained invalid JSON syntax.</summary>
INVALID_SYNTAX,
/// <summary>The response contained a field outside the strict contract.</summary>
UNKNOWN_FIELD,
/// <summary>The response omitted a required field.</summary>
REQUIRED_FIELD_MISSING,
/// <summary>A field value had the wrong JSON type.</summary>
TYPE_MISMATCH,
/// <summary>A string did not identify a supported enum value.</summary>
ENUM_VALUE_INVALID,
/// <summary>The parsed response violated a semantic stage contract.</summary>
SEMANTIC_CONTRACT_INVALID,
}