dify/api/tests/unit_tests/controllers/openapi/_mode_constants.py
Xiyuan Chen b3e5f29421
fix(app): derive get-app --mode whitelist from listable app types (#37761)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-23 04:40:05 +00:00

11 lines
351 B
Python

"""Shared mode lists for the openapi app-list query tests.
Single source so adding/removing a listable app type is a one-line change
across every query-validator test.
"""
from __future__ import annotations
LISTABLE_MODES = ["completion", "chat", "advanced-chat", "workflow", "agent-chat"]
NON_LISTABLE_MODES = ["rag-pipeline", "channel", "agent"]