mirror of
https://gitee.com/dify_ai/dify.git
synced 2024-11-30 02:08:37 +08:00
fix: typo of builtin tools (#2275)
This commit is contained in:
parent
9d072920da
commit
5baaebb3fd
@ -40,7 +40,7 @@ class BuiltinToolProviderController(ToolProviderController):
|
||||
'credentials_schema': provider_yaml['credentials_for_provider'] if 'credentials_for_provider' in provider_yaml else None,
|
||||
})
|
||||
|
||||
def _get_bulitin_tools(self) -> List[Tool]:
|
||||
def _get_builtin_tools(self) -> List[Tool]:
|
||||
"""
|
||||
returns a list of tools that the provider can provide
|
||||
|
||||
@ -101,7 +101,7 @@ class BuiltinToolProviderController(ToolProviderController):
|
||||
|
||||
:return: list of tools
|
||||
"""
|
||||
return self._get_bulitin_tools()
|
||||
return self._get_builtin_tools()
|
||||
|
||||
def get_tool(self, tool_name: str) -> Tool:
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user