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:
Peer HogeterpandThorsten Sommer authored and GitHub committed 2026-10-22 14:15:10 +02:00
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);