Moved the background agents to AI operations (#1215)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2026-11-21 19:47:10 +01:00
1 parent 8a4a26503b
commit c50a93cd17
139 files changed
+4069 -2340

No files matched your search

@@ -0,0 +1,14 @@
namespace AIStudio.AIOperations.DataSourceChoice;
/// <summary>
/// The data sources a model chose for a prompt.
/// </summary>
/// <param name="SelectedDataSources">The chosen data sources, as the model named them; empty when it chose none.</param>
/// <param name="IsAnswered">Whether the model gave a usable answer. Without one, nothing was chosen either.</param>
public sealed record DataSourceChoiceResult(IReadOnlyList<SelectedDataSource> SelectedDataSources, bool IsAnswered)
{
/// <summary>
/// No usable answer: no provider, an empty prompt, or an answer without valid JSON.
/// </summary>
public static readonly DataSourceChoiceResult NOT_ANSWERED = new([], false);
}