From 8df7f41f1d2392ca19216832999716b2062a0cc0 Mon Sep 17 00:00:00 2001 From: Nikolai Kolodziej Date: Sun, 24 Nov 2024 06:55:43 +0100 Subject: [PATCH] fix: set empty `tool_call_parser` to None --- src/engine_args.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine_args.py b/src/engine_args.py index 485e505..4c445df 100644 --- a/src/engine_args.py +++ b/src/engine_args.py @@ -91,7 +91,7 @@ DEFAULT_ARGS = { "otlp_traces_endpoint": os.getenv('OTLP_TRACES_ENDPOINT', None), "use_v2_block_manager": os.getenv('USE_V2_BLOCK_MANAGER', 'true'), "enable_auto_tool_choice": os.getenv('ENABLE_AUTO_TOOL_CHOICE', 'false').lower() == 'true', - "tool_call_parser": os.getenv('TOOL_CALL_PARSER', None) + "tool_call_parser": os.getenv('TOOL_CALL_PARSER', "") or None } def match_vllm_args(args):