mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-12-05 17:51:36 +00:00
Moved temporary files into a folder of their own below the data directory (#1245)
This commit is contained in:
1 parent
ddfc632b63
commit
12d3e1ec6c
52 files changed
+1219
-396
No files matched your search
@@ -143,6 +143,8 @@ public partial class VisualBriefingAssistant : MSGComponentBase
|
||||
/// </summary>
|
||||
protected override async Task OnInitializedAsync()
|
||||
{
|
||||
// Taken before the first await: Blazor may dispose the page meanwhile, see "Loops of a component" in app/AGENTS.md:
|
||||
var sourceMonitorToken = this.sourceMonitorCancellation.Token;
|
||||
await base.OnInitializedAsync();
|
||||
if (!this.SettingsManager.IsAssistantVisible(
|
||||
ComponentKind.VISUAL_BRIEFING_ASSISTANT,
|
||||
@@ -158,7 +160,10 @@ public partial class VisualBriefingAssistant : MSGComponentBase
|
||||
this.BuildProgressService.Changed += this.BuildProgressChanged;
|
||||
await this.ReloadListAsync();
|
||||
await this.ConsumePendingMediaOutcomesAsync();
|
||||
this.MonitorSourceStatusAsync(this.sourceMonitorCancellation.Token).Observe($"{nameof(VisualBriefingAssistant)}: monitoring the source status");
|
||||
if (sourceMonitorToken.IsCancellationRequested)
|
||||
return;
|
||||
|
||||
this.MonitorSourceStatusAsync(sourceMonitorToken).Observe($"{nameof(VisualBriefingAssistant)}: monitoring the source status");
|
||||
if (AssistantLaunchService.TakeTextPayload(ComponentKind.VISUAL_BRIEFING_ASSISTANT) is { } textLaunchPayload && !string.IsNullOrWhiteSpace(textLaunchPayload.Text))
|
||||
{
|
||||
// A text sent here starts a briefing of its own, which holds what the text demands. The briefing
|
||||
|
||||
Reference in new issue
Block a user