mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-02-12 20:01:37 +00:00
Add FORBIDDEN file type to FileAttachmentType for improved validation
This commit is contained in:
parent
c480444559
commit
f354382802
@ -9,14 +9,19 @@ public enum FileAttachmentType
|
||||
/// Document file types, such as .pdf, .docx, .txt, etc.
|
||||
/// </summary>
|
||||
DOCUMENT,
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// All image file types, such as .jpg, .png, .gif, etc.
|
||||
/// </summary>
|
||||
IMAGE,
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// All audio file types, such as .mp3, .wav, .aac, etc.
|
||||
/// </summary>
|
||||
AUDIO,
|
||||
|
||||
/// <summary>
|
||||
/// Forbidden file types that should not be attached, such as executables.
|
||||
/// </summary>
|
||||
FORBIDDEN,
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user