feat: add AI chat for repports

This commit is contained in:
2026-04-28 07:19:49 +02:00
parent 087bcab16b
commit 490a364c00
10 changed files with 340 additions and 5 deletions

View File

@ -116,3 +116,12 @@ type Report struct {
ErrorMsg string `json:"error_msg"`
CreatedAt time.Time `json:"created_at"`
}
type ReportMessage struct {
ID string `json:"id"`
ReportID string `json:"report_id"`
Role string `json:"role"` // user | assistant
Content string `json:"content"`
Status string `json:"status"` // done | generating | error
CreatedAt time.Time `json:"created_at"`
}