From dcd36166fcb7b1e98bf21aa5809e619002405502 Mon Sep 17 00:00:00 2001 From: CREDO23 Date: Wed, 14 Jan 2026 18:38:47 +0200 Subject: [PATCH] add author fields to MessageRecord type --- surfsense_web/lib/chat/thread-persistence.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/surfsense_web/lib/chat/thread-persistence.ts b/surfsense_web/lib/chat/thread-persistence.ts index 5c65ad47e..23dd35800 100644 --- a/surfsense_web/lib/chat/thread-persistence.ts +++ b/surfsense_web/lib/chat/thread-persistence.ts @@ -31,6 +31,9 @@ export interface MessageRecord { role: "user" | "assistant" | "system"; content: unknown; created_at: string; + author_id?: string | null; + author_display_name?: string | null; + author_avatar_url?: string | null; } export interface ThreadListResponse {