Migrated the deletion of secrets from Tauri JS to the runtime API

This commit is contained in:
tsommer committed 2024-08-29 11:28:11 +02:00
1 parent 54c2cd3740
commit 88ea640a68
25 files changed
+99 -137

No files matched your search

@@ -155,7 +155,7 @@ public abstract partial class AssistantBase : ComponentBase
// 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(this.providerSettings.CreateProvider(this.Logger, this.RustService), this.JsRuntime, this.SettingsManager, this.providerSettings.Model, this.chatThread);
await aiText.CreateFromProviderAsync(this.providerSettings.CreateProvider(this.Logger), this.SettingsManager, this.providerSettings.Model, this.chatThread);
this.isProcessing = false;
this.StateHasChanged();