diff --git a/products/01-llm-cost-router/src/proxy/handler.rs b/products/01-llm-cost-router/src/proxy/handler.rs index 3a59178..9842e3e 100644 --- a/products/01-llm-cost-router/src/proxy/handler.rs +++ b/products/01-llm-cost-router/src/proxy/handler.rs @@ -13,10 +13,10 @@ use tracing::{info, warn}; use super::middleware; -use dd0c_route::auth::AuthProvider; -use dd0c_route::config::AppConfig; -use dd0c_route::data::{EventQueue, TelemetryEvent}; -use dd0c_route::router::RouterBrain; +use crate::auth::AuthProvider; +use crate::config::AppConfig; +use crate::data::{EventQueue, TelemetryEvent}; +use crate::router::RouterBrain; pub struct ProxyState { pub auth: Arc, @@ -181,8 +181,8 @@ pub enum ProxyError { UpstreamError(String), } -impl From for ProxyError { - fn from(e: dd0c_route::auth::AuthError) -> Self { +impl From for ProxyError { + fn from(e: crate::auth::AuthError) -> Self { ProxyError::AuthError(e.to_string()) } }