|
|
|
|
@ -170,7 +170,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,
|
|
|
|
|
@ -188,7 +188,6 @@ class PluginDatasourceManager(BasePluginClient):
|
|
|
|
|
"Content-Type": "application/json",
|
|
|
|
|
},
|
|
|
|
|
)
|
|
|
|
|
yield from response
|
|
|
|
|
|
|
|
|
|
def validate_provider_credentials(
|
|
|
|
|
self, tenant_id: str, user_id: str, provider: str, plugin_id: str, credentials: dict[str, Any]
|
|
|
|
|
|