Refactor BiasOfTheDayAssistant to initiate chat generation job asynchronously

This commit is contained in:
Thorsten Sommer 2026-07-03 14:24:03 +02:00
parent 36b3192a0b
commit e5b51f7b26
Signed by untrusted user who does not match committer: tsommer
GPG Key ID: 371BBA77A02C0108

View File

@ -169,8 +169,7 @@ public partial class BiasOfTheDayAssistant : AssistantBaseCore<SettingsDialogAss
Please tell me about the bias of the day.
""", true);
// Start the AI response without waiting for it to finish:
_ = this.AddAIResponseAsync(time);
await this.StartChatGenerationJobAsync(time);
await this.SendToAssistant(Tools.Components.CHAT, default);
}
}