Add --reply-filters option for optional content filtering
- Added --reply-filters CLI flag to make content filtering optional - Supports comma-separated values: --reply-filters malformed,tool_calls - Supports model-specific filters: --reply-filters text:malformed --reply-filters image:tool_calls - Supports specific model names: --reply-filters text:llama-3.1:malformed - Added check_reply_filter() and check_single_filter() helper functions - Updated stream_chat_response and generate_chat_response to use new filtering - Updated ToolCallParser._filter_malformed_content for conditional filtering - Added documentation in README.md
Showing
Please
register
or
sign in
to comment