mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-08-24 20:52:11 +00:00
Refactor BiasOfTheDayAssistant to initiate chat generation job asynchronously
This commit is contained in:
parent
36b3192a0b
commit
e5b51f7b26
@ -169,8 +169,7 @@ public partial class BiasOfTheDayAssistant : AssistantBaseCore<SettingsDialogAss
|
|||||||
Please tell me about the bias of the day.
|
Please tell me about the bias of the day.
|
||||||
""", true);
|
""", true);
|
||||||
|
|
||||||
// Start the AI response without waiting for it to finish:
|
await this.StartChatGenerationJobAsync(time);
|
||||||
_ = this.AddAIResponseAsync(time);
|
|
||||||
await this.SendToAssistant(Tools.Components.CHAT, default);
|
await this.SendToAssistant(Tools.Components.CHAT, default);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue
Block a user