• Your Name's avatar
    Add --reply-filters option for optional content filtering · 533f8fd5
    Your Name authored
    - 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
    533f8fd5
README.md 28.3 KB