Fix effect CID resolution: use 'cid' not 'effect_hash'
The EFFECT executor looks for config["cid"] or config["hash"], but the transformation was setting config["effect_hash"]. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -356,7 +356,8 @@ async def run_recipe(
|
|||||||
if node.get("type") == "EFFECT" and "effect" in config:
|
if node.get("type") == "EFFECT" and "effect" in config:
|
||||||
effect_name = config["effect"]
|
effect_name = config["effect"]
|
||||||
if effect_name in effects:
|
if effect_name in effects:
|
||||||
config["effect_hash"] = effects[effect_name].get("cid")
|
# Use "cid" - the executor looks for this field
|
||||||
|
config["cid"] = effects[effect_name].get("cid")
|
||||||
|
|
||||||
# Transform to artdag format: type->node_type, id->node_id
|
# Transform to artdag format: type->node_type, id->node_id
|
||||||
transformed = {
|
transformed = {
|
||||||
|
|||||||
Reference in New Issue
Block a user