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
parent a31b502668
commit 57024614bd
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