Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

458 B
Raw Blame
from collections.abc import Callable
from inspect import unwrap

from controllers.console.knowledge_fs.features import KnowledgeFSFeaturesApi


def test_get_knowledge_fs_features_serializes_deployment_availability(config_overrides: Callable[..., None]) -> None:
    config_overrides(KNOWLEDGE_FS_ENABLED=False)

    result = unwrap(KnowledgeFSFeaturesApi.get)(KnowledgeFSFeaturesApi())

    assert result == {"upload_enabled": False, "agent_enabled": False}