mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-28 21:49:40 +02:00
add author fields to MessageRecord type
This commit is contained in:
parent
a8918b9cca
commit
dcd36166fc
1 changed files with 3 additions and 0 deletions
|
|
@ -31,6 +31,9 @@ export interface MessageRecord {
|
||||||
role: "user" | "assistant" | "system";
|
role: "user" | "assistant" | "system";
|
||||||
content: unknown;
|
content: unknown;
|
||||||
created_at: string;
|
created_at: string;
|
||||||
|
author_id?: string | null;
|
||||||
|
author_display_name?: string | null;
|
||||||
|
author_avatar_url?: string | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ThreadListResponse {
|
export interface ThreadListResponse {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue