Fixed attached files silently reaching the AI as empty documents (#904)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2026-08-10 16:37:44 +02:00
1 parent b9ec13edcf
commit 8f8f788896
31 files changed
+1730 -285

No files matched your search

@@ -0,0 +1,23 @@
namespace AIStudio.Tools;
/// <summary>
/// How reading a file ended.
/// </summary>
public enum FileExtractionOutcome
{
/// <summary>
/// The whole file was read.
/// </summary>
SUCCESS,
/// <summary>
/// Parts of the file could not be read, e.g. single pages of a PDF, while the remaining
/// content is still usable.
/// </summary>
PARTIAL,
/// <summary>
/// The file could not be read. There is no content the app is allowed to use.
/// </summary>
FAILED,
}