-
feat(translator): add tests to validate trailing assistant prefill stripping and sanitize tool call IDs
发布于
2026-06-17 20:13:04 +00:00 - Introduced tests for
ConvertOpenAIRequestToGemini,ConvertOpenAIResponsesRequestToGemini, and related Claude functions to ensure trailing model-prefill turns are removed. - Enhanced tool call ID handling with
util.SanitizeClaudeToolIDto 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
下载附件
- Introduced tests for