diff --git a/dify-agent/examples/agenton_basics.py b/dify-agent/examples/agenton_basics.py index ea02d6931a..2a2015c4bd 100644 --- a/dify-agent/examples/agenton_basics.py +++ b/dify-agent/examples/agenton_basics.py @@ -102,7 +102,9 @@ async def main() -> None: ), CompositorLayerConfig( name="profile_prompt", - deps={"profile": "profile"}, + # deps maps dependency field names to layer names only when + # they differ. + # deps={"profile": "profile"}, layer=ProfilePromptLayer(), ), CompositorLayerConfig(