response_message["content"] = clean_content if clean_content.strip() else None
response_message["tool_calls"] = tool_calls
finish_reason = "tool_calls"
...
...
@@ -6661,12 +6570,6 @@ def parse_args():
default=None,
help="Remove a specific cached model by name or hash (partial match)",
)
parser.add_argument(
"--reply-filters",
action="append",
default=[],
help="Enable filtering of model replies. Use --reply-filters malformed,tool_calls or --reply-filters text:malformed --reply-filters image:tool_calls for model-specific filters.",