Refactored DI usage for CreateFromProviderAsync (#285)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2025-02-17 12:41:27 +01:00
1 parent 98810ce884
commit 7c59aa11fe
7 files changed
+9 -15

No files matched your search

+1 -1
View File
@@ -117,6 +117,6 @@ public abstract class AgentBase(ILogger<AgentBase> logger, SettingsManager setti
// Use the selected provider to get the AI response.
// By awaiting this line, we wait for the entire
// content to be streamed.
await aiText.CreateFromProviderAsync(providerSettings.CreateProvider(this.Logger), this.SettingsManager, this.DataSourceService, providerSettings.Model, this.lastUserPrompt, thread);
await aiText.CreateFromProviderAsync(providerSettings.CreateProvider(this.Logger), providerSettings.Model, this.lastUserPrompt, thread);
}
}