add message history

This commit is contained in:
xuyue committed 2026-05-06 07:12:52 -06:00
1 parent 77aca640ac
commit 2b216878ca
5 files changed
+247 -1

No files matched your search

+13
View File
@@ -12,6 +12,19 @@ export interface PromptMessage {
created: string
}
export interface PromptHistoryItem {
user_message_id: number
assistant_message_id: number
submission_id: string | null
source: string
prompt: string
prompt_level: number | null
code_html: string | null
code_css: string | null
code_js: string | null
created: string
}
export enum Role {
Super = "super",
Admin = "admin",