Fix skills exec error with action type

This commit is contained in:
Xuwznln
2026-04-13 20:16:00 +08:00
parent eaf8ad5609
commit 36e5ff804c
3 changed files with 16 additions and 4 deletions

View File

@@ -152,6 +152,7 @@ class HTTPClient:
logger.error(f"查询物料失败: {response.text}")
else:
data = res["data"]["nodes"]
logger.trace(f"resource_tree_get查询到物料: {data}")
return data
else:
logger.error(f"查询物料失败: {response.text}")