We added a new padding field p to chunks streamed back by the Completion API to mitigate token-length side-channel attacks, as reported by Microsoft researchers.
Compatibility note
- Applications relying on strict schema parsing of raw SSE chunks may need to allow the additional
pfield. - Applications using the official Mistral SDKs are unaffected.
- Users relying on the
mistral-commonpackage should upgrade to version1.8.4or higher.