Replies: 1 comment 1 reply
-
|
This error occurs because Dify 1.15.0 introduced a new Agent backend microservice architecture that requires a The factory function raises the error when if base_url is None:
raise ValueError("base_url is required when creating a real Agent backend client")To fix this, add the following environment variable to your AGENT_BACKEND_BASE_URL=http://your-agent-backend-service:portHowever, if you haven't deployed the separate agent backend service (which is a new component in 1.15.0), you can use the fake client as a workaround: AGENT_BACKEND_USE_FAKE=true
AGENT_BACKEND_FAKE_SCENARIO=successThis provides an in-process mock that lets workflows run without the external service [3]. Important note: A maintainer has indicated that the Agent Roster feature is "not yet ready" in v1.15.0 [4], so you may want to check whether the Agent node in your workflow was intentionally added or if it appeared during migration. If your workflow didn't originally use an Agent node (only LLM nodes, etc.), something may have changed during the upgrade that's incorrectly invoking the agent backend path. To reply, just mention @dosu. Share context across your team and agents. Try Dosu. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Self Checks
1. Is this request related to a challenge you're experiencing? Tell me about your story.
I am deploying in an offline docker compose environment, when upgrading the version from dify 1.10.1-fix.1 to 1.15.0, an error occurred, please guide me on how to resolve this?
The same chatflow runs normally on dify1.10.1-fix.1 version
error info:
base_url is required when creating a real Agent backend client
docker compose logs :
I guess there might be an anomaly in the Agent node, but I don't know how to solve it?

2. Additional context or comments
No response
Beta Was this translation helpful? Give feedback.
All reactions