From bf700dc431d88acc011deb16ac9987e4db8717ed Mon Sep 17 00:00:00 2001 From: pyx9913 Date: Fri, 1 Nov 2024 16:31:21 +0800 Subject: [PATCH] add trust remote code --- tests/tool_use/utils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/tool_use/utils.py b/tests/tool_use/utils.py index 7544c184fbf3d..bfb051c0a7f2e 100644 --- a/tests/tool_use/utils.py +++ b/tests/tool_use/utils.py @@ -117,7 +117,8 @@ def ensure_system_prompt(messages: List[Dict[str, Any]], "openbmb/MiniCPM3-4B", "arguments": [ "--tool-call-parser", "minicpm", "--chat-template", - str(VLLM_PATH / "examples/tool_chat_template_minicpm3.jinja") + str(VLLM_PATH / "examples/tool_chat_template_minicpm3.jinja"), + "--trust_remote_code" ], "supports_parallel": False,