mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 04:17:10 +02:00
Add a basic chat setting validation
This commit is contained in:
parent
605dea4f85
commit
985b892b7a
2 changed files with 18 additions and 0 deletions
|
@ -146,6 +146,7 @@ async fn patch_settings(
|
|||
// &req,
|
||||
// );
|
||||
|
||||
settings.validate()?;
|
||||
index_scheduler.put_chat_settings(&mut wtxn, &workspace_uid, &settings)?;
|
||||
wtxn.commit()?;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue