add message history
Some checks failed
Deploy / deploy (build, debian, 22) (push) Has been cancelled
Deploy / deploy (build:staging, school, 8822) (push) Has been cancelled

This commit is contained in:
2026-05-06 07:12:52 -06:00
parent 77aca640ac
commit 2b216878ca
5 changed files with 247 additions and 1 deletions

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",