From 7304f402b5e2708475e3e6b4805351ca111a79e1 Mon Sep 17 00:00:00 2001 From: martsforever Date: Thu, 4 Sep 2025 20:55:19 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B2=A1=E6=9C=89=E5=A5=BD=E7=9A=84?= =?UTF-8?q?=E5=8A=9E=E6=B3=95=E5=8F=AF=E4=BB=A5=E5=9C=A8=E5=B7=A5=E5=85=B7?= =?UTF-8?q?=E8=B0=83=E7=94=A8=E4=B8=AD=E6=8C=82=E9=9D=A0=E4=B8=9C=E8=A5=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controller/add_langgraph_chat_route.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/app/controller/add_langgraph_chat_route.py b/app/controller/add_langgraph_chat_route.py index ce465af..688daf7 100644 --- a/app/controller/add_langgraph_chat_route.py +++ b/app/controller/add_langgraph_chat_route.py @@ -28,12 +28,7 @@ from app.utils.postgres_checkpointer import PostgresCheckpointerManager, AsyncPo description="一个用于获取当前时间的工具,没有参数" ) def tool_get_datetime(): - return { - "result": f"当前时间为:{datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S')}", - "render": { - "type": "DataTable" - } - } + return f"当前时间为:{datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S')}" @tool(