Skip to content

Commit

Permalink
fix(workflow_tool): Rename stream to streaming (#11258)
Browse files Browse the repository at this point in the history
Signed-off-by: -LAN- <[email protected]>
  • Loading branch information
laipz8200 authored Dec 2, 2024
1 parent 3c8efe7 commit f8c966c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/core/tools/tool/workflow_tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@ def _invoke(
user=self._get_user(user_id),
args={"inputs": tool_parameters, "files": files},
invoke_from=self.runtime.invoke_from,
stream=False,
streaming=False,
call_depth=self.workflow_call_depth + 1,
workflow_thread_pool_id=self.thread_pool_id,
)

assert isinstance(result, dict)
data = result.get("data", {})

if data.get("error"):
Expand Down

0 comments on commit f8c966c

Please sign in to comment.