File-Upload: Attachments-Tabelle, Base64-Speicherung, Frontend mit Drag&Drop/Paste/Preview, Error-Handling Fix

This commit is contained in:
Meleki committed 2026-02-27 08:11:46 +01:00
1 parent 680f1d6fe2
commit 1271c9c651
11 files changed
+513 -11

No files matched your search

+12
View File
@@ -11,5 +11,17 @@ public class MessageRecord
public string ToolCallId { get; set; } // tool_use id
public bool IsError { get; set; }
public int Iteration { get; set; } // welche Loop-Iteration
public int AttachmentCount { get; set; } // Anzahl angehängter Dateien
public string CreatedAt { get; set; }
}
public class AttachmentRecord
{
public long Id { get; set; }
public long MessageId { get; set; } // FK auf messages.id
public string Type { get; set; } // image, document
public string MediaType { get; set; } // image/png, application/pdf, etc.
public string FileName { get; set; } // Original-Dateiname (optional)
public string Data { get; set; } // Base64-encoded Inhalt
public string CreatedAt { get; set; }
}