mirror of
https://github.com/langgenius/dify.git
synced 2026-01-14 06:07:33 +08:00
fix(api): fix invoke_from for workflow is not properly set
This commit is contained in:
parent
24362ce59e
commit
001d2c5062
@ -115,7 +115,7 @@ class WorkflowBasedAppRunner:
|
||||
graph_config=graph_config,
|
||||
user_id=user_id,
|
||||
user_from=UserFrom.ACCOUNT,
|
||||
invoke_from=InvokeFrom.SERVICE_API,
|
||||
invoke_from=self._queue_manager.invoke_from,
|
||||
call_depth=0,
|
||||
)
|
||||
|
||||
@ -259,7 +259,7 @@ class WorkflowBasedAppRunner:
|
||||
graph_config=graph_config,
|
||||
user_id="",
|
||||
user_from=UserFrom.ACCOUNT,
|
||||
invoke_from=InvokeFrom.SERVICE_API,
|
||||
invoke_from=self._queue_manager.invoke_from,
|
||||
call_depth=0,
|
||||
)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user