Fixed GPT-6 Sol and Luna, and the system prompt role of newer OpenAI models (#1010)
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 / 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

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2026-09-27 19:13:54 +02:00
1 parent 1eaca9b12f
commit 8dbe459a53
27 files changed
+739 -355

No files matched your search

@@ -33,6 +33,7 @@ public sealed class ModelRuleBuilder(string patternText, ModelRuleKind ruleKind,
private ContextWindow? context;
private TokenizerRef? tokenizer;
private ImageLimits? images;
private SystemPromptRole? systemPromptRole;
/// <summary>
/// The text this rule answers for, before anything was stated about it.
@@ -226,6 +227,17 @@ public sealed class ModelRuleBuilder(string patternText, ModelRuleKind ruleKind,
return this;
}
/// <summary>
/// Which role the model takes its system prompt in.
/// </summary>
/// <param name="role">The role.</param>
/// <returns>The rule, to go on stating.</returns>
public ModelRuleBuilder SystemPromptRole(SystemPromptRole role)
{
this.systemPromptRole = role;
return this;
}
/// <summary>
/// Takes everything the rule stated before this one and goes on from there.
/// </summary>
@@ -342,6 +354,7 @@ public sealed class ModelRuleBuilder(string patternText, ModelRuleKind ruleKind,
Context = this.context ?? basis?.Context,
Tokenizer = this.tokenizer ?? basis?.Tokenizer,
Images = this.images ?? basis?.Images,
SystemPromptRole = this.systemPromptRole ?? basis?.SystemPromptRole,
};
private ModelRuleBuilder MatchingAs(MatchKind kind)