Skip to content

Commit b8b9047

Browse files
luccafongLucia (Lu) Fang
andauthored
fix security issue of logging llm output (#18980)
Signed-off-by: Lu Fang <fanglu@fb.com> Co-authored-by: Lucia (Lu) Fang <fanglu@meta.com>
1 parent ba5111f commit b8b9047

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vllm/entrypoints/openai/tool_parsers/phi4mini_tool_parser.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ def extract_tool_calls(
6868
len(function_call_arr))
6969
except json.JSONDecodeError as e:
7070
logger.error(
71-
"Failed to parse function calls from model output: %s. "
72-
"Error: %s", model_output, str(e))
71+
"Failed to parse function calls from model output. "
72+
"Error: %s", str(e))
7373

7474
tool_calls: list[ToolCall] = [
7575
ToolCall(

0 commit comments

Comments
 (0)