Compare commits
3 Commits
9e4e94c75e
...
204cb223a3
| Author | SHA1 | Date | |
|---|---|---|---|
| 204cb223a3 | |||
| ca69a35e02 | |||
| dc8cd06625 |
@@ -2,6 +2,7 @@ from contextlib import asynccontextmanager
|
|||||||
from fastapi import FastAPI
|
from fastapi import FastAPI
|
||||||
from fastapi.middleware.cors import CORSMiddleware
|
from fastapi.middleware.cors import CORSMiddleware
|
||||||
from app.database import init_db
|
from app.database import init_db
|
||||||
|
import app.models # noqa: F401 - 注册所有模型
|
||||||
from app.routers import (
|
from app.routers import (
|
||||||
auth_router,
|
auth_router,
|
||||||
conversation_router,
|
conversation_router,
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ from app.models.conversation import Conversation, Message
|
|||||||
from app.models.knowledge_graph import KGNode, KGEdge
|
from app.models.knowledge_graph import KGNode, KGEdge
|
||||||
from app.models.memory import MemorySummary, UserMemory
|
from app.models.memory import MemorySummary, UserMemory
|
||||||
from app.models.todo import DailyTodo, TodoSource
|
from app.models.todo import DailyTodo, TodoSource
|
||||||
|
from app.models.log import Log, LogType, LogLevel
|
||||||
|
|
||||||
__all__ = [
|
__all__ = [
|
||||||
"Base",
|
"Base",
|
||||||
@@ -28,4 +29,7 @@ __all__ = [
|
|||||||
"UserMemory",
|
"UserMemory",
|
||||||
"DailyTodo",
|
"DailyTodo",
|
||||||
"TodoSource",
|
"TodoSource",
|
||||||
|
"Log",
|
||||||
|
"LogType",
|
||||||
|
"LogLevel",
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -130,7 +130,7 @@ async function handleRegister() {
|
|||||||
<div class="field-group">
|
<div class="field-group">
|
||||||
<label class="field-label">// OPERATOR ID</label>
|
<label class="field-label">// OPERATOR ID</label>
|
||||||
<div class="field-input">
|
<div class="field-input">
|
||||||
<input v-model="email" type="email" placeholder="operator@jarvis.ai" required />
|
<input v-model="email" type="text" placeholder="邮箱 / 用户名 / ID" required />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user