mirror of
https://github.com/langgenius/dify.git
synced 2026-05-04 00:18:28 +08:00
fix: avoid None to be assigned to WorkflowToolProviderController as provider id
This commit is contained in:
parent
18edeb8e0a
commit
bb58f5c6e5
@ -62,7 +62,7 @@ class WorkflowToolProviderController(ToolProviderController):
|
|||||||
credentials_schema=[],
|
credentials_schema=[],
|
||||||
plugin_id=None,
|
plugin_id=None,
|
||||||
),
|
),
|
||||||
provider_id=db_provider.id,
|
provider_id=db_provider.id or "",
|
||||||
)
|
)
|
||||||
|
|
||||||
# init tools
|
# init tools
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user