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

@@ -308,7 +308,7 @@ public sealed class DirectChatService(SettingsManager settingsManager, DataSourc
//
// There is nothing to check when data sources are switched off, and nothing to check either
// when an agent picks them: that choice is made per message in the chat, exactly as it is
// when an AI operation picks them: that choice is made per message in the chat, exactly as it is
// for a chat template the user picks by hand.
//
if (chosenOptions.DisableDataSources || chosenOptions.AutomaticDataSourceSelection || chosenOptions.PreselectedDataSourceIds.Count == 0)
@@ -351,8 +351,8 @@ public sealed class DirectChatService(SettingsManager settingsManager, DataSourc
{
//
// The options the launched chat will run under are what this check runs against: they
// decide which agent providers take part, and an agent with too little confidence makes
// a data source unavailable. Agents take part only when the chat searches with every
// decide which providers of AI operations take part, and an AI operation with too little confidence makes
// a data source unavailable. AI operations take part only when the chat searches with every
// message, which the chat decides the same way:
//
var retrievalMode = await toolRegistry.GetEffectiveRetrievalModeAsync(chosenOptions, provider, Components.CHAT);