mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-02 19:55:18 +02:00
feat(gateway): add messaging gateway persistence schema
This commit is contained in:
parent
69abf0d916
commit
81cf63ac96
3 changed files with 1005 additions and 0 deletions
|
|
@ -8,6 +8,8 @@ export const newChatMessageTable = table("new_chat_messages")
|
|||
threadId: number().from("thread_id"),
|
||||
authorId: string().optional().from("author_id"),
|
||||
createdAt: number().from("created_at"),
|
||||
source: string(),
|
||||
platformMetadata: json().optional().from("platform_metadata"),
|
||||
// Per-turn correlation id sourced from ``configurable.turn_id``
|
||||
// at streaming time. Required by the inline Revert button's
|
||||
// (chat_turn_id, tool_name, position) fallback in tool-fallback.tsx
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue