fix: typo of builtin tools (#2275)

This commit is contained in:
Bowen Liang 2024-01-30 08:09:31 +08:00 committed by GitHub
parent 9d072920da
commit 5baaebb3fd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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:
"""