mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-02-12 21:41:36 +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.
|
/// Document file types, such as .pdf, .docx, .txt, etc.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
DOCUMENT,
|
DOCUMENT,
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// All image file types, such as .jpg, .png, .gif, etc.
|
/// All image file types, such as .jpg, .png, .gif, etc.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
IMAGE,
|
IMAGE,
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// All audio file types, such as .mp3, .wav, .aac, etc.
|
/// All audio file types, such as .mp3, .wav, .aac, etc.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
AUDIO,
|
AUDIO,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Forbidden file types that should not be attached, such as executables.
|
||||||
|
/// </summary>
|
||||||
|
FORBIDDEN,
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue
Block a user