mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-10 02:55:40 +08:00
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>
This commit is contained in:
parent
ba5111f237
commit
b8b904795d
@ -68,8 +68,8 @@ class Phi4MiniJsonToolParser(ToolParser):
|
||||
len(function_call_arr))
|
||||
except json.JSONDecodeError as e:
|
||||
logger.error(
|
||||
"Failed to parse function calls from model output: %s. "
|
||||
"Error: %s", model_output, str(e))
|
||||
"Failed to parse function calls from model output. "
|
||||
"Error: %s", str(e))
|
||||
|
||||
tool_calls: list[ToolCall] = [
|
||||
ToolCall(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user