You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 5, 2025. It is now read-only.
In the context of muxing, the code determining which mapper to use
when receiving requests to be routed towards Anthropic was relying in
`is_fim_request` only, and was not taking into account if the actual
endpoint receiving the request was the legacy one
(i.e. `/completions`) or the current one
(i.e. `/chat/completions`). This caused the use of the wrong mapper,
which led to an empty text content for the FIM request.
A better way to determine which mapper to use is looking at the
effective type, since that's the real source of truth for the
translation.
0 commit comments