Remove --parser litellm option and add OpenAIFormatter for response sanitization
- Remove the --parser argument and litellm backend handling code - Add OpenAIFormatter class in codai/models/parsers.py for final response sanitization - Integrate formatter into both streaming and non-streaming response paths - Use litellm's ModelResponse and ChatCompletionChunk for proper OpenAI format
Showing
codai/models/parsers.py
0 → 100644
This diff is collapsed.
This diff is collapsed.
Please
register
or
sign in
to comment