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:
Peer HogeterpandThorsten Sommer authored and GitHub committed 2026-11-28 11:52:17 +01:00
1 parent 1fbc1f4796
commit 7e2f83b19b
83 files changed
+1924 -347

No files matched your search

@@ -0,0 +1,22 @@
namespace AIStudio.Tools.Imports;
/// <summary>Capabilities of an import owner kind.</summary>
public static class ImportOwnerKindExtensions
{
/// <param name="kind">The owner kind to look up.</param>
extension(ImportOwnerKind kind)
{
/// <summary>
/// Gets whether the owner stores its own source list and transcripts.
/// </summary>
/// <remarks>
/// Owners that persist their own sources take the attached media over immediately and keep it
/// next to the stored document, see <see cref="ImportOwnerKind.VISUAL_BRIEFING"/>. The
/// attachment control must therefore neither wait for the transcription to finish before showing
/// the file, nor deliver the completed transcripts back into its own list afterwards, because
/// the owner already holds them. All other owners rely on that delivery instead.
/// </remarks>
/// <value><c>true</c> when the owner persists its own sources.</value>
public bool PersistsOwnSources => kind is ImportOwnerKind.VISUAL_BRIEFING;
}
}