From 3943f09c30a70f350d82fd06120b2b1299302fdd Mon Sep 17 00:00:00 2001 From: martsforever Date: Wed, 10 Sep 2025 20:33:14 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=87=86=E5=A4=87=E5=AE=9E=E7=8E=B0?= =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E6=88=90=E6=9C=AC=E5=88=86=E6=9E=90=E6=8A=A5?= =?UTF-8?q?=E5=91=8A=E5=92=8C=E9=A1=B9=E7=9B=AE=E5=91=A8=E6=8A=A5=E6=97=A5?= =?UTF-8?q?=E6=8A=A5=E5=88=86=E6=9E=90=E6=80=BB=E7=BB=93=E5=B7=A5=E5=85=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/tools/tool_project_analysis.py | 15 +++++++++++++++ app/tools/tool_project_report.py | 15 +++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 app/tools/tool_project_analysis.py create mode 100644 app/tools/tool_project_report.py diff --git a/app/tools/tool_project_analysis.py b/app/tools/tool_project_analysis.py new file mode 100644 index 0000000..4be16ed --- /dev/null +++ b/app/tools/tool_project_analysis.py @@ -0,0 +1,15 @@ +from langchain_core.tools import tool + + +@tool( + name_or_callable="tool_project_analysis", + description="做项目成本分析报告" +) +def tool_project_analysis() -> float: + return [ + "", + { + "component": "DirectSubordinates", + "props": {}, + } + ] diff --git a/app/tools/tool_project_report.py b/app/tools/tool_project_report.py new file mode 100644 index 0000000..08cedfb --- /dev/null +++ b/app/tools/tool_project_report.py @@ -0,0 +1,15 @@ +from langchain_core.tools import tool + + +@tool( + name_or_callable="tool_project_report", + description="tool_project_report" +) +def tool_project_analysis() -> float: + return [ + "", + { + "component": "DirectSubordinates", + "props": {}, + } + ]