mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-09-14 20:43:38 +00:00
Some checks are pending
Build and Release / Determine run mode (push) Waiting to run
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 / Verify (push) Waiting to run
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
28 lines
1.4 KiB
C#
28 lines
1.4 KiB
C#
namespace AIStudio.Models;
|
|
|
|
/// <summary>
|
|
/// Where the statements about a model were read, and when somebody last looked.
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// Model cards change without telling anybody. A vendor adds tool calling to a checkpoint, raises a
|
|
/// context window, or quietly stops offering an API, and the rule written from the old page keeps
|
|
/// answering as if nothing happened. Naming the page and the day it was read is what turns "this is
|
|
/// what the rules say" into something a person can check in a minute.
|
|
///
|
|
/// This is not optional: a family has to state it, and the compiler asks for it. The verification
|
|
/// run reports the ones which have gone stale.
|
|
/// </remarks>
|
|
/// <param name="Url">The page the statements were read from.</param>
|
|
/// <param name="CheckedOn">The day somebody last read it.</param>
|
|
/// <param name="Note">What that page actually said, in a sentence, so a reader knows what to look for.</param>
|
|
public sealed record ModelSource(string Url, DateOnly CheckedOn, string Note)
|
|
{
|
|
/// <summary>
|
|
/// Whether this source names a page and a day.
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// The compiler can insist that a family states a source; it cannot insist that the source says
|
|
/// anything. This is what the verification run asks.
|
|
/// </remarks>
|
|
public bool IsStated => !string.IsNullOrWhiteSpace(this.Url) && this.CheckedOn != default;
|
|
} |