Add a basic chat setting validation

This commit is contained in:
Kerollmops 2025-06-10 10:57:43 +02:00
parent 605dea4f85
commit 985b892b7a
No known key found for this signature in database
GPG key ID: F250A4C4E3AE5F5F
2 changed files with 18 additions and 0 deletions

View file

@ -146,6 +146,7 @@ async fn patch_settings(
// &req,
// );
settings.validate()?;
index_scheduler.put_chat_settings(&mut wtxn, &workspace_uid, &settings)?;
wtxn.commit()?;