mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-11 03:46:52 +08:00
fix(workflow_tool): Rename stream to streaming (#11258)
Signed-off-by: -LAN- <laipz8200@outlook.com>
This commit is contained in:
@@ -58,11 +58,11 @@ class WorkflowTool(Tool):
|
|||||||
user=self._get_user(user_id),
|
user=self._get_user(user_id),
|
||||||
args={"inputs": tool_parameters, "files": files},
|
args={"inputs": tool_parameters, "files": files},
|
||||||
invoke_from=self.runtime.invoke_from,
|
invoke_from=self.runtime.invoke_from,
|
||||||
stream=False,
|
streaming=False,
|
||||||
call_depth=self.workflow_call_depth + 1,
|
call_depth=self.workflow_call_depth + 1,
|
||||||
workflow_thread_pool_id=self.thread_pool_id,
|
workflow_thread_pool_id=self.thread_pool_id,
|
||||||
)
|
)
|
||||||
|
assert isinstance(result, dict)
|
||||||
data = result.get("data", {})
|
data = result.get("data", {})
|
||||||
|
|
||||||
if data.get("error"):
|
if data.get("error"):
|
||||||
|
|||||||
Reference in New Issue
Block a user