Fix/typos (#2308)
This commit is contained in:
parent
9e37702d24
commit
2660fbaa20
58 changed files with 312 additions and 312 deletions
|
|
@ -11,12 +11,12 @@ class WolframAlphaTool(BuiltinTool):
|
|||
|
||||
def _invoke(self,
|
||||
user_id: str,
|
||||
tool_paramters: Dict[str, Any],
|
||||
tool_parameters: Dict[str, Any],
|
||||
) -> Union[ToolInvokeMessage, List[ToolInvokeMessage]]:
|
||||
"""
|
||||
invoke tools
|
||||
"""
|
||||
query = tool_paramters.get('query', '')
|
||||
query = tool_parameters.get('query', '')
|
||||
if not query:
|
||||
return self.create_text_message('Please input query')
|
||||
appid = self.runtime.credentials.get('appid', '')
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ class GoogleProvider(BuiltinToolProviderController):
|
|||
}
|
||||
).invoke(
|
||||
user_id='',
|
||||
tool_paramters={
|
||||
tool_parameters={
|
||||
"query": "1+2+....+111",
|
||||
},
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue