refactor: remove agent flavours, move provider to Agent (#2091)

This commit is contained in:
Salman Mohammed
2025-04-09 15:02:47 -04:00
committed by GitHub
parent a8cbd81c61
commit 513d5c8f5a
30 changed files with 1297 additions and 2272 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ use tokio::sync::{Mutex, RwLock};
#[allow(dead_code)]
#[derive(Clone)]
pub struct AppState {
pub agent: Arc<RwLock<Option<Box<dyn Agent>>>>,
pub agent: Arc<RwLock<Option<Agent>>>,
pub secret_key: String,
pub config: Arc<Mutex<HashMap<String, Value>>>,
}