fix: tree bind用params_mapping替代${id}$避免ArgsConvert误解析为Python内置id函数

This commit is contained in:
Hermes Agent 2026-06-23 17:26:51 +08:00
parent b87501912c
commit 984fc73bd6

View File

@ -36,9 +36,16 @@
"cwidth": 20, "cwidth": 20,
"cheight": 10 "cheight": 10
}, },
"params_mapping": {
"mapping": {
"id": "category_id"
},
"need_other": false
},
"options": { "options": {
"method": "POST",
"url": "{{entire_url('../api/import_category_products.dspy')}}", "url": "{{entire_url('../api/import_category_products.dspy')}}",
"params": {"category_id": "${id}$"} "params": {}
} }
} }
], ],