refactor(backend): dify, minio等迁移到integration,清除无效文件

This commit is contained in:
sophie committed 2026-09-21 09:24:45 +08:00
1 parent 7fe7a39384
commit faa554ade4
90 files changed
+7540 -9649

No files matched your search

@@ -15,7 +15,7 @@ from app.services.chat.executors.base import (
ChatStreamContext,
build_dify_inputs_for_context,
)
from app.services.dify import DifyService
from app.services.integrations.dify import DifyService
class DifyChatExecutor(ChatExecutor):
@@ -16,13 +16,13 @@ from app.services.chat.intent_route_registry import (
def _match(ctx: ChatIntentRouteContext) -> bool:
from app.services.plm_oracle import PLMOracleService
from app.services.integrations.plm.oracle import PLMOracleService
return PLMOracleService.supports(ctx.query, ctx.agent)
def _stream(ctx: ChatIntentRouteContext):
from app.services.plm_oracle import PLMOracleService
from app.services.integrations.plm.oracle import PLMOracleService
return PLMOracleService.stream_chat(
ctx.query,
@@ -27,7 +27,7 @@ def _match(ctx: ChatIntentRouteContext) -> bool:
def _stream(ctx: ChatIntentRouteContext):
from app.services.text2sql import Text2SQLService
from app.services.integrations.text2sql import Text2SQLService
return Text2SQLService.stream_chat(
ctx.query,