From 6fd27519e96633d772b0ee823697dd9f9e639b3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=9B=90=E7=B2=92=20Yanli?= Date: Wed, 29 Apr 2026 04:19:12 +0800 Subject: [PATCH] update the example --- dify-agent/examples/agenton_basics.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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(