feat: Implement Dify LLM provider and update related configurations and tests

This commit is contained in:
Xin Wang
2026-03-11 16:35:59 +08:00
parent 3b9ee80c8f
commit 5eec8f2b30
7 changed files with 455 additions and 3 deletions

View File

@@ -1,5 +1,6 @@
"""LLM providers."""
from providers.llm.dify import DifyLLMService
from providers.llm.openai import MockLLMService, OpenAILLMService
try: # pragma: no cover - import depends on optional sibling SDK
@@ -8,6 +9,7 @@ except Exception: # pragma: no cover - provider remains lazily available via fa
FastGPTLLMService = None # type: ignore[assignment]
__all__ = [
"DifyLLMService",
"FastGPTLLMService",
"MockLLMService",
"OpenAILLMService",