Unverified Commit 3c23ac84 authored by Shiyan Deng's avatar Shiyan Deng Committed by GitHub
Browse files

[Bugfix] Fix mypy errors in hermes_tool_parser.py (#36114)


Signed-off-by: default avatarShiyan Deng <dsy842974287@meta.com>
parent a708ef59
......@@ -368,6 +368,9 @@ class Hermes2ProToolParser(ToolParser):
# now, the nitty-gritty of tool calls
# now we have the portion to parse as tool call.
if current_tool_call is None:
return None
logger.debug(
"Trying to parse current tool call with ID %s", self.current_tool_id
)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment