mirror of
https://github.com/langgenius/dify.git
synced 2026-05-02 08:28:03 +08:00
chore: run make lint (2 files reformatted, all checks passed)
chore: run make type-check (0 errors, 0 warnings, 0 notes)
This commit is contained in:
@ -39,7 +39,9 @@ class DatasetIndexToolCallbackHandler:
|
||||
source="app",
|
||||
source_app_id=self._app_id,
|
||||
created_by_role=(
|
||||
UserFrom.ACCOUNT if self._invoke_from in {InvokeFrom.EXPLORE, InvokeFrom.DEBUGGER} else UserFrom.END_USER
|
||||
UserFrom.ACCOUNT
|
||||
if self._invoke_from in {InvokeFrom.EXPLORE, InvokeFrom.DEBUGGER}
|
||||
else UserFrom.END_USER
|
||||
),
|
||||
created_by=self._user_id,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user