[MISC] fixed tool_parser mypy errors (#35640)
Signed-off-by: Taneem Ibrahim <taneem.ibrahim@gmail.com> Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com> Co-authored-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
This commit is contained in:
co-authored by
Harry Mellor
parent
1659b2e058
commit
1aaec59d79
@@ -72,7 +72,7 @@ class FunctionGemmaToolParser(ToolParser):
|
||||
|
||||
def _parse_arguments(self, args_str: str) -> dict:
|
||||
"""Parse FunctionGemma argument string into a dictionary."""
|
||||
arguments = {}
|
||||
arguments: dict = {}
|
||||
if not args_str:
|
||||
return arguments
|
||||
|
||||
|
||||
Reference in New Issue
Block a user