From 5423f6b6eaff8c6c2c8b5ac1caaee5d84ef8affd Mon Sep 17 00:00:00 2001
From: zhaoqingang <zhaoqg0118@163.com>
Date: 星期四, 13 二月 2025 10:40:37 +0800
Subject: [PATCH] 問題優化
---
app/api/files.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/app/api/files.py b/app/api/files.py
index c9f0524..db8936b 100644
--- a/app/api/files.py
+++ b/app/api/files.py
@@ -118,7 +118,7 @@
raise HTTPException(status_code=500, detail=str(e))
elif agent.chat_type == "reportWorkflow" or agent.chat_type == "documentIa" or agent.chat_type == "paperTalk":
token_dict = {
- "reportWorkflow": DOCUMENT_TO_REPORT,
+ "reportWorkflow": DOCUMENT_TO_REPORT_TITLE,
"documentIa": DOCUMENT_IA_QUESTIONS,
"paperTalk": DOCUMENT_TO_PAPER,
}
--
Gitblit v1.8.0