add workflow 市场-Agents调度,dev

This commit is contained in:
root 2025-11-20 11:36:50 +08:00
parent 797da86088
commit 3eff6e0b1c
1 changed files with 6 additions and 3 deletions

View File

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