mirror of
https://github.com/langgenius/dify.git
synced 2026-05-04 09:28:04 +08:00
fix: undefined dereference to ApiTool
This commit is contained in:
@ -151,8 +151,6 @@ class ApiToolProviderController(ToolProviderController):
|
||||
"""
|
||||
if len(self.tools) > 0:
|
||||
return self.tools
|
||||
if self.identity is None:
|
||||
return None
|
||||
|
||||
tools: list[ApiTool] = []
|
||||
|
||||
|
||||
Reference in New Issue
Block a user