From f6a0aa15269cae87737d1564ad7a33063f1d94de Mon Sep 17 00:00:00 2001 From: zhaoqingang <zhaoqg0118@163.com> Date: 星期二, 18 二月 2025 13:43:13 +0800 Subject: [PATCH] Merge branch 'master' of http://192.168.5.5:10010/r/rag-gateway into develop_2.1 --- app/api/agent.py | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/app/api/agent.py b/app/api/agent.py index 0a6429e..d5c5ea8 100644 --- a/app/api/agent.py +++ b/app/api/agent.py @@ -192,6 +192,8 @@ for i in session.log_to_json().get("message", []): if i.get("role") == "user": tmp_data["question"]=i.get("content") + if "upload_filenames" in i: + tmp_data["upload_filenames"] = i.get("upload_filenames") elif i.get("role") == "assistant": if isinstance(i.get("content"), dict): -- Gitblit v1.8.0