Generate a new default chat API key

This commit is contained in:
Clément Renault 2025-05-20 11:00:19 +02:00
parent 1a84f00fbf
commit 56c1bd3afe
No known key found for this signature in database
GPG key ID: F250A4C4E3AE5F5F
5 changed files with 41 additions and 9 deletions

View file

@ -351,6 +351,7 @@ pub struct IndexSearchRules {
fn generate_default_keys(store: &HeedAuthStore) -> Result<()> {
store.put_api_key(Key::default_admin())?;
store.put_api_key(Key::default_search())?;
store.put_api_key(Key::default_chat())?;
Ok(())
}