Count the agents only where the classic RAG process runs them

This commit is contained in:
Thorsten Sommer committed 2026-09-24 16:32:01 +02:00
1 parent abb4a41a71
commit a75ffc54a6
6 files changed
+116 -16

No files matched your search

@@ -274,7 +274,7 @@ public sealed class DirectChatService(SettingsManager settingsManager, DataSourc
// decide which agent providers take part, and an agent with too little confidence makes
// a data source unavailable.
//
availableDataSources = await dataSourceService.GetAllowedDataSources(provider, chosenOptions, requestedDataSources);
availableDataSources = await dataSourceService.GetAllowedDataSources(provider, chosenOptions, DataSourceRetrievalMode.EVERY_MESSAGE, requestedDataSources);
}
catch (Exception exception)
{