mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-05 04:07:21 +00:00
Added profile, provider, and workspace preselection to chat templates (#1099)
Co-authored-by: Thorsten Sommer <SommerEngineering@users.noreply.github.com>
This commit is contained in:
1 parent
ab9df99cf0
commit
24c4c31035
34 files changed
+2084
-142
No files matched your search
@@ -0,0 +1,14 @@
|
||||
namespace AIStudio.Settings;
|
||||
|
||||
/// <summary>
|
||||
/// Whose tools a chat started by a launcher begins with, decided by ChatTemplate.ChooseToolIds.
|
||||
/// </summary>
|
||||
/// <param name="ToolIds">The tools to start with, or null when neither side names any, which leaves the chat default in place.</param>
|
||||
/// <param name="LauncherChoiceDropped">Whether the tools the launcher names itself were dropped for those of the chat template.</param>
|
||||
public readonly record struct ChatTemplateToolChoice(IReadOnlyCollection<string>? ToolIds, bool LauncherChoiceDropped)
|
||||
{
|
||||
/// <summary>
|
||||
/// Neither side names any tools, so the chat keeps its default.
|
||||
/// </summary>
|
||||
public static readonly ChatTemplateToolChoice NONE = new(null, false);
|
||||
}
|
||||
Reference in new issue
Block a user