mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-04 20:27: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
@@ -270,8 +270,12 @@ public sealed class ConfigurationSnippetParserTests
|
||||
],
|
||||
ToolIds = ["web_search"],
|
||||
|
||||
// Preselected data sources make the export start with a comment:
|
||||
// Preselected data sources make the export start with a comment, and so do a preselected
|
||||
// provider and profile, with a comment of their own:
|
||||
DataSourceOptions = new() { DisableDataSources = false, PreselectedDataSourceIds = [Guid.NewGuid().ToString()] },
|
||||
ProviderId = Guid.NewGuid().ToString(),
|
||||
ProfileId = Guid.NewGuid().ToString(),
|
||||
WorkspaceName = QUOTED_TEXT,
|
||||
};
|
||||
|
||||
Assert.That(template.TryExportAsConfigurationSection(out var luaCode, out var issue), Is.True, issue);
|
||||
|
||||
Reference in new issue
Block a user