refactor: dashboard backend, frontend

fix: 仪表盘部分配置不显示
This commit is contained in:
Soulter
2024-10-04 00:04:34 +08:00
parent 2291c2d9ba
commit 5221566335
64 changed files with 1715 additions and 1849 deletions
+24
View File
@@ -0,0 +1,24 @@
CREATE TABLE IF NOT EXISTS platform(
name VARCHAR(32),
count INTEGER,
timestamp INTEGER
);
CREATE TABLE IF NOT EXISTS llm(
name VARCHAR(32),
count INTEGER,
timestamp INTEGER
);
CREATE TABLE IF NOT EXISTS plugin(
name VARCHAR(32),
count INTEGER,
timestamp INTEGER
);
CREATE TABLE IF NOT EXISTS command(
name VARCHAR(32),
count INTEGER,
timestamp INTEGER
);
CREATE TABLE IF NOT EXISTS llm_history(
session_id VARCHAR(32),
content TEXT
);