mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-08-15 02:22:11 +00:00
register required, optional and non-writable properties of file attachment
This commit is contained in:
parent
45977672b9
commit
69718261e5
@ -85,6 +85,11 @@ public static class ComponentPropSpecs
|
||||
optional: ["UserPrompt", "Class", "Style"],
|
||||
nonWriteable: ["Name", "UserPrompt", "Class", "Style" ]
|
||||
),
|
||||
[AssistantComponentType.FILE_ATTACHMENTS] = new(
|
||||
required: ["Name"],
|
||||
optional: ["Heading", "UserPrompt", "CatchAllDocuments", "UseSmallForm", "Class", "Style"],
|
||||
nonWriteable: ["Name", "UserPrompt", "Class", "Style" ]
|
||||
),
|
||||
[AssistantComponentType.IMAGE] = new(
|
||||
required: ["Src"],
|
||||
optional: ["Alt", "Caption", "Class", "Style"],
|
||||
|
||||
Loading…
Reference in New Issue
Block a user