mirror of
https://github.com/langgenius/dify.git
synced 2026-04-26 21:55:58 +08:00
Merge branch 'feat/datasource' into feat/r2
# Conflicts: # api/services/rag_pipeline/rag_pipeline.py # web/app/components/workflow/constants.ts # web/app/components/workflow/header/run-and-history.tsx # web/app/components/workflow/hooks/use-nodes-interactions.ts # web/app/components/workflow/hooks/use-workflow-interactions.ts # web/app/components/workflow/hooks/use-workflow.ts # web/app/components/workflow/index.tsx # web/app/components/workflow/nodes/_base/components/panel-operator/panel-operator-popup.tsx # web/app/components/workflow/nodes/_base/panel.tsx # web/app/components/workflow/nodes/code/use-config.ts # web/app/components/workflow/nodes/llm/default.ts # web/app/components/workflow/panel/index.tsx # web/app/components/workflow/panel/version-history-panel/index.tsx # web/app/components/workflow/store/workflow/index.ts # web/app/components/workflow/types.ts # web/config/index.ts # web/types/workflow.ts
This commit is contained in:
@ -141,7 +141,7 @@ class PluginDatasourceManager(BasePluginClient):
|
||||
|
||||
datasource_provider_id = GenericProviderID(datasource_provider)
|
||||
|
||||
response = self._request_with_plugin_daemon_response_stream(
|
||||
return self._request_with_plugin_daemon_response_stream(
|
||||
"POST",
|
||||
f"plugin/{tenant_id}/dispatch/datasource/get_online_document_pages",
|
||||
OnlineDocumentPagesMessage,
|
||||
@ -159,7 +159,6 @@ class PluginDatasourceManager(BasePluginClient):
|
||||
"Content-Type": "application/json",
|
||||
},
|
||||
)
|
||||
yield from response
|
||||
|
||||
def get_online_document_page_content(
|
||||
self,
|
||||
@ -177,7 +176,7 @@ class PluginDatasourceManager(BasePluginClient):
|
||||
|
||||
datasource_provider_id = GenericProviderID(datasource_provider)
|
||||
|
||||
response = self._request_with_plugin_daemon_response_stream(
|
||||
return self._request_with_plugin_daemon_response_stream(
|
||||
"POST",
|
||||
f"plugin/{tenant_id}/dispatch/datasource/get_online_document_page_content",
|
||||
DatasourceMessage,
|
||||
@ -195,7 +194,6 @@ class PluginDatasourceManager(BasePluginClient):
|
||||
"Content-Type": "application/json",
|
||||
},
|
||||
)
|
||||
yield from response
|
||||
|
||||
def online_drive_browse_files(
|
||||
self,
|
||||
|
||||
Reference in New Issue
Block a user