Update milli/src/vector/error.rs

Fix Meilisearch capitalization
This commit is contained in:
Louis Dureuil 2024-03-13 09:45:04 +01:00 committed by GitHub
parent 88bc9556a9
commit ae67d5eef0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -79,7 +79,7 @@ pub enum EmbedErrorKind {
OllamaTooManyRequests(OllamaError), OllamaTooManyRequests(OllamaError),
#[error("received internal error from Ollama: {0}")] #[error("received internal error from Ollama: {0}")]
OllamaInternalServerError(OllamaError), OllamaInternalServerError(OllamaError),
#[error("model not found. MeiliSearch will not automatically download models from the Ollama library, please pull the model manually: {0}")] #[error("model not found. Meilisearch will not automatically download models from the Ollama library, please pull the model manually: {0}")]
OllamaModelNotFoundError(OllamaError), OllamaModelNotFoundError(OllamaError),
#[error("received unhandled HTTP status code {0} from Ollama")] #[error("received unhandled HTTP status code {0} from Ollama")]
OllamaUnhandledStatusCode(u16), OllamaUnhandledStatusCode(u16),