fix: Fix typo in credentials field name (#2155)

This commit is contained in:
Yeuoly 2024-01-24 12:00:34 +08:00 • committed by GitHub
commit 57024614bd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
23 changed files with 51 additions and 51 deletions

View file

@ -228,11 +228,11 @@ class Tool(BaseModel, ABC):
def _invoke(self, user_id: str, tool_paramters: Dict[str, Any]) -> Union[ToolInvokeMessage, List[ToolInvokeMessage]]:
pass
def validate_credentials(self, credentails: Dict[str, Any], parameters: Dict[str, Any]) -> None:
def validate_credentials(self, credentials: Dict[str, Any], parameters: Dict[str, Any]) -> None:
"""
validate the credentials
:param credentails: the credentials
:param credentials: the credentials
:param parameters: the parameters
"""
pass