Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: typo of builtin tools #2275

Merged
merged 1 commit into from
Jan 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions api/core/tools/provider/builtin_tool_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def __init__(self, **data: Any) -> None:
'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

Expand Down Expand Up @@ -101,7 +101,7 @@ def get_tools(self) -> List[Tool]:

:return: list of tools
"""
return self._get_bulitin_tools()
return self._get_builtin_tools()

def get_tool(self, tool_name: str) -> Tool:
"""
Expand Down