AI models shared registry + Code cleanup + Better async handling + Some fixes, etc

This commit is contained in:
Priler 2026-02-18 21:08:48 +05:00
parent a8ff3442ff
commit 520b98143f
62 changed files with 1683 additions and 1239 deletions

View file

@ -2,7 +2,6 @@ mod kira;
mod rodio;
use once_cell::sync::OnceCell;
use std::cmp::Ordering;
use std::path::PathBuf;
use crate::config::structs::AudioType;
@ -44,7 +43,7 @@ pub fn init() -> Result<(), ()> {
Ok(_) => {
info!("Successfully initialized Kira audio backend.");
}
Err(msg) => {
Err(_msg) => {
error!("Failed to initialize Kira audio backend.");
return Err(());