• Your Name's avatar
    Refactor OpenAIFormatter to use litellm models directly · 203f97e0
    Your Name authored
    - Simplify OpenAIFormatter by using litellm's ModelResponse and ChatCompletionChunk directly
    - Add fallback support for when litellm is not available or fails
    - Maintain compatibility with existing API
    - Remove redundant format_litellm_full and format_litellm_chunk methods
    203f97e0
parsers.py 4.26 KB