mistral.rs
mistral.rs copied to clipboard
Better error when token not provided for gated models
We should distinguish between 2 cases in api_get_file!
:
- 404: read from local
- Anything else: propagate error Currently, if the "error" is not 404, we will still attempt reading from disk. If you are trying to access a gated model without an access token, this will be very confusing.