From 3eff6e0b1ca9d912f02ae43ac28a089b18fcc526 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 20 Nov 2025 11:36:50 +0800 Subject: [PATCH] =?UTF-8?q?add=20workflow=20=E5=B8=82=E5=9C=BA-Agents?= =?UTF-8?q?=E8=B0=83=E5=BA=A6,dev?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../泰克产品相关性分析/tk_product_prefer.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/dev/workflow/TK_Cust/agents_market_newsletter/泰克产品相关性分析/tk_product_prefer.py b/dev/workflow/TK_Cust/agents_market_newsletter/泰克产品相关性分析/tk_product_prefer.py index 2420a27..aa372fc 100644 --- a/dev/workflow/TK_Cust/agents_market_newsletter/泰克产品相关性分析/tk_product_prefer.py +++ b/dev/workflow/TK_Cust/agents_market_newsletter/泰克产品相关性分析/tk_product_prefer.py @@ -121,7 +121,8 @@ class APIClient: "inputs": {}, "query" : query, "response_mode": "streaming", - "user": "admin" + "user": "admin", + "conversation_id":"" }) try: @@ -162,7 +163,8 @@ class APIClient: "inputs": {}, "query":"", "response_mode": "streaming", - "user": "admin" + "user": "admin", + "conversation_id":"" } # 添加其他参数 @@ -294,7 +296,7 @@ def main(): inputs_data = { "urls": f"{text}" } - + logger.info(f"调用call_api_with_inputs") result = api_client.call_api_with_inputs(inputs_data) if result['success']: @@ -306,6 +308,7 @@ def main(): else: #agent query = text + logger.info(f"call_api_with_query") result = api_client.call_api_with_query(query) if result['success']: