• Your Name's avatar
    Improve QwenParser with repetition guard and add repeat_penalty to API · 9e9febbd
    Your Name authored
    QwenParser:
    - Add repetition guard to handle looping models
    - Improve flexible tag matching for tool/tool_call/function_call
    - Add JSON recovery for unclosed JSON
    - Add circuit breaker after first valid call
    - Support <call=name> in coder style fallback
    
    API:
    - Add repeat_penalty parameter to ChatCompletionRequest
    - Add repeat_penalty parameter to CompletionRequest
    9e9febbd
parser.py 16.5 KB