修改前端技术栈后,改为react技术

This commit is contained in:
2026-03-17 15:54:00 +08:00
parent 18ee2b9b2c
commit 85f2bbe78c
21 changed files with 1384 additions and 26 deletions

View File

@@ -11,7 +11,7 @@ async def save_input_to_json(chat_request: ChatRequest):
return 0
# 2. 从本地jsonl中读取历史对话
@app.get("/get_all_role_and_chat")
@app.get("/api/get_all_role_and_chat")
def get_all_role_and_chat():
# 直接调用导入的函数
result = get_chat_file()