Add a basic chat setting validation

This commit is contained in:
Kerollmops
2025-06-10 10:57:43 +02:00
parent 605dea4f85
commit 985b892b7a
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()?;