mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-12-04 21:44:35 +00:00
Kept the inputs of assistants when you leave them (#1209)
Co-authored-by: Thorsten Sommer <SommerEngineering@users.noreply.github.com>
This commit is contained in:
1 parent
1fbc1f4796
commit
7e2f83b19b
83 files changed
+1924
-347
No files matched your search
@@ -1,4 +1,5 @@
|
||||
using AIStudio.Chat;
|
||||
using AIStudio.Tools.Imports;
|
||||
using AIStudio.Tools.Media;
|
||||
|
||||
namespace AIStudio.Assistants.VisualBriefing;
|
||||
@@ -11,15 +12,15 @@ public sealed class VisualBriefingTranscriptStorage(VisualBriefingStore store) :
|
||||
/// <summary>
|
||||
/// Defines <c>CanStore</c> for the visual briefing feature.
|
||||
/// </summary>
|
||||
public bool CanStore(MediaImportOwner owner) =>
|
||||
owner.Kind is MediaImportOwnerKind.VISUAL_BRIEFING &&
|
||||
public bool CanStore(ImportOwner owner) =>
|
||||
owner.Kind is ImportOwnerKind.VISUAL_BRIEFING &&
|
||||
Guid.TryParse(owner.Id, out _);
|
||||
|
||||
/// <summary>
|
||||
/// Defines <c>StoreAsync</c> for the visual briefing feature.
|
||||
/// </summary>
|
||||
public async Task<FileAttachment> StoreAsync(
|
||||
MediaImportTarget target,
|
||||
ImportTarget target,
|
||||
string originalMediaPath,
|
||||
string transcript,
|
||||
CancellationToken token)
|
||||
|
||||
Reference in new issue
Block a user