AI-Studio/app/MindWork AI Studio/Assistants/VisualBriefing/VisualBriefingFailure.cs
Thorsten Sommer eca29e1b40
Some checks are pending
Build and Release / Determine run mode (push) Waiting to run
Build and Release / Read metadata (push) Blocked by required conditions
Build and Release / Sync Flatpak repo (push) Blocked by required conditions
Build and Release / Collect Flatpak artifacts (push) Blocked by required conditions
Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-aarch64-apple-darwin, osx-arm64, macos-latest, aarch64-apple-darwin, dmg,app,updater, dmg) (push) Blocked by required conditions
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) Blocked by required conditions
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) Blocked by required conditions
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) Blocked by required conditions
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) Blocked by required conditions
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) Blocked by required conditions
Build and Release / Prepare & create release (push) Blocked by required conditions
Build and Release / Publish release (push) Blocked by required conditions
Fixed color, spellchecking, and translations in the visual briefing assistant (#895)
2026-08-04 07:33:33 +02:00

43 lines
1.5 KiB
C#

namespace AIStudio.Assistants.VisualBriefing;
/// <summary>
/// Stores safe details about one failed visual briefing operation.
/// </summary>
public sealed class VisualBriefingFailure
{
/// <summary>
/// Gets or sets the stable failure code.
/// </summary>
public VisualBriefingFailureCode Code { get; set; }
/// <summary>
/// Gets or sets the stage that failed.
/// </summary>
public VisualBriefingBuildStage Stage { get; set; }
/// <summary>
/// Gets or sets the user-safe issue text in stable English.
/// </summary>
/// <remarks>
/// This text is never localized: it is sent back to the model as a repair instruction and it is
/// persisted with the build record, so both a translation and a later language switch would break
/// it. Use <see cref="VisualBriefingFailureExtensions.ToUserMessage(VisualBriefingFailure)"/> to
/// obtain the text shown to the user.
/// </remarks>
public string UserMessage { get; set; } = string.Empty;
/// <summary>
/// Gets or sets technical details that contain no user content.
/// </summary>
public string TechnicalDetails { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the stable validation rule without user data.
/// </summary>
public VisualBriefingValidationRule ValidationRule { get; set; }
/// <summary>
/// Gets or sets the safe structured-response diagnostic.
/// </summary>
public VisualBriefingStructuredResponseDiagnostic? StructuredResponse { get; set; }
}