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']: