feat: move audio and webscraper back to dify

This commit is contained in:
Yeuoly
2024-12-03 19:27:57 +08:00
parent 574a6c1ded
commit dcf19549cb
21 changed files with 741 additions and 34 deletions

View File

@ -172,7 +172,7 @@ class AgentChatAppGenerator(MessageBasedAppGenerator):
target=self._generate_worker,
kwargs={
"flask_app": current_app._get_current_object(), # type: ignore
"contexts": contextvars.copy_context(),
"context": contextvars.copy_context(),
"application_generate_entity": application_generate_entity,
"queue_manager": queue_manager,
"conversation_id": conversation.id,