mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 04:17:10 +02:00
Report an error when the document template max bytes is zero
This commit is contained in:
parent
34d572e3e5
commit
5ceb3c6a10
3 changed files with 10 additions and 4 deletions
|
@ -386,6 +386,8 @@ and can not be more than 511 bytes.", .document_id.to_string()
|
|||
DocumentEditionRuntimeError(Box<EvalAltResult>),
|
||||
#[error("Document edition runtime error encountered while compiling the function: {0}")]
|
||||
DocumentEditionCompilationError(rhai::ParseError),
|
||||
#[error("`.chat.documentTemplateMaxBytes`: `documentTemplateMaxBytes` cannot be zero")]
|
||||
InvalidChatSettingsDocumentTemplateMaxBytes,
|
||||
#[error("{0}")]
|
||||
DocumentEmbeddingError(String),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue