Something went wrong. Try again.
sloproxy
Something went wrong. Try again.
feat(translator): add tests to validate trailing assistant prefill stripping and sanitize tool call IDs master
- Introduced tests for `ConvertOpenAIRequestToGemini`, `ConvertOpenAIResponsesRequestToGemini`, and related Claude functions to ensure trailing model-prefill turns are removed. - Enhanced tool call ID handling with `util.SanitizeClaudeToolID` to standardize IDs in Claude-related conversions and tests. - Updated logic in Gemini and Claude translators to handle edge cases for trailing assistant prefill and tool ID sanitization, ensuring compatibility across input variants. Closes: #3113
Author Luis Pater Date (Jun 17, 2026, 8:13 PM UTC) Commit dd49a520 dd49a5200381f1849e489ed37f201c3741709634 Parent cde5081e cde5081e94809a61bd7faca5ffa77db478e7e1c8