From 20bbed188fd7833d14801dc202fa3cdbb085ca2b Mon Sep 17 00:00:00 2001 From: xuyonghao <898441624@qq.com> Date: 星期五, 20 十二月 2024 11:51:34 +0800 Subject: [PATCH] 优化excel合并脚本 --- app/task/fetch_agent.py | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/task/fetch_agent.py b/app/task/fetch_agent.py index ea9a2e6..6373653 100644 --- a/app/task/fetch_agent.py +++ b/app/task/fetch_agent.py @@ -318,9 +318,9 @@ dify_data = get_data_from_dify_v2([]) if dify_data: update_ids_in_local_v2(dify_data, "4") - print("Agents synchronized successfully") + print("v2 Agents synchronized successfully") except Exception as e: - print(f"Failed to sync agents: {str(e)}") + print(f"v2 Failed to sync agents: {str(e)}") def update_ids_in_local_knowledge(data, klg_type): type_dict = {"1": RAGFLOW, "2": BISHENG, "4": DIFY} @@ -380,9 +380,9 @@ # elif app["id"] == DIFY: # dify_data = get_data_from_dify_v2([]) # update_ids_in_local_v2(dify_data, "4") - print("Agents synchronized successfully") + print("sync knowledge successfully") except Exception as e: - print(f"Failed to sync agents: {str(e)}") + print(f"Failed to sync knowledge: {str(e)}") if __name__ == "__main__": -- Gitblit v1.8.0