File tree 1 file changed +3
-3
lines changed 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -767,11 +767,11 @@ async def run_server(args, **uvicorn_kwargs) -> None:
767
767
if args .tool_parser_plugin and len (args .tool_parser_plugin ) > 3 :
768
768
ToolParserManager .import_tool_parser (args .tool_parser_plugin )
769
769
770
- valide_tool_parses = ToolParserManager .tool_parsers .keys ()
770
+ valid_tool_parses = ToolParserManager .tool_parsers .keys ()
771
771
if args .enable_auto_tool_choice \
772
- and args .tool_call_parser not in valide_tool_parses :
772
+ and args .tool_call_parser not in valid_tool_parses :
773
773
raise KeyError (f"invalid tool call parser: { args .tool_call_parser } "
774
- f"(chose from {{ { ',' .join (valide_tool_parses )} }})" )
774
+ f"(chose from {{ { ',' .join (valid_tool_parses )} }})" )
775
775
776
776
# workaround to make sure that we bind the port before the engine is set up.
777
777
# This avoids race conditions with ray.
You can’t perform that action at this time.
0 commit comments