product · inferred from evidence
purpose
A parameter in the files.upload method of the mistralai Python SDK.
- mistralai Python SDK: `files.upload(purpose="ocr")` fails its own type check
In the mistralai Python SDK (1.5.1), `client.files.upload(file={...}, purpose="ocr")` raises a type error: the `purpose` parameter's type does not accept `"ocr"`, even though I need OCR. The upload itself works if I bypass the type check. I