dify/api/tests
Shakti Prasad Mohapatra 2195e81276 fix: improve AGENT_BACKEND_BASE_URL error message with config guidance
The Agent node (agent_v2) in Workflow/Chatflow fails with a generic
'base_url is required' error when AGENT_BACKEND_BASE_URL is not set.
The standard docker/dify Compose stack doesn't include the Agent backend
service, so self-hosted users hit this error with no hint about what to
do. Replace the bare ValueError with a message that names the env var,
explains the service requirement, and suggests the classic Agent app
as an alternative.

Fixes #39161
2026-08-14 22:35:31 +05:30
..
fixtures/workflow chore(api): Upgrade graphon to v0.5.1 (#37168) 2026-06-11 07:37:27 +00:00
helpers chore: port isinstance to match case (#37271) 2026-06-18 00:18:03 +00:00
integration_tests refactor(api): consolidate deployment edition handling (#40142) 2026-08-11 07:39:01 +00:00
test_containers_integration_tests fix: reclaim conversation resources on deletion (#40792) 2026-08-14 14:30:04 +00:00
unit_tests fix: improve AGENT_BACKEND_BASE_URL error message with config guidance 2026-08-14 22:35:31 +05:30
__init__.py refactor: move vdb implementations to workspaces (#34900) 2026-04-13 08:56:43 +00:00
conftest.py refactor(workflow-file): move core.file to core.workflow.file (#32252) 2026-02-16 22:38:19 +08:00
pytest_dify.py test(api): manage backend pytest services natively (#36235) 2026-05-19 07:52:15 +00:00
seed_legacy_model_type_dirty_data.py feat(api): introduce model-type migration script (#36520) 2026-05-27 02:12:11 +00:00
workflow_test_utils.py chore: reorg imports (#35308) 2026-04-16 08:50:02 +00:00