mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-17 07:17:59 +00:00
Fixed an incomplete plugin start with extensive enterprise configurations (#1033)
This commit is contained in:
1 parent
bdf828fa4f
commit
56215aa6dd
16 files changed
+493
-70
No files matched your search
@@ -50,8 +50,12 @@ public record FileAttachment(FileAttachmentType Type, string FileName, string Fi
|
||||
/// Gets a value indicating whether the file still exists on the file system.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// This property checks the file system each time it is accessed.
|
||||
/// This property checks the file system each time it is accessed. It is therefore excluded from
|
||||
/// serialization: a path on a network share which is out of reach blocks until the SMB timeout,
|
||||
/// and the settings carry such attachments in chat templates. Every store of the settings would
|
||||
/// wait that long. Reading never used the value, so older files with the field still load.
|
||||
/// </remarks>
|
||||
[JsonIgnore]
|
||||
public bool Exists => File.Exists(this.FilePath);
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in new issue
Block a user