diff --git a/packages/desktop/src/providers/provider_manager.rs b/packages/desktop/src/providers/provider_manager.rs index df0689a1..f16f3aa6 100644 --- a/packages/desktop/src/providers/provider_manager.rs +++ b/packages/desktop/src/providers/provider_manager.rs @@ -155,6 +155,11 @@ impl ProviderManager { if let Some(found_emit) = self.emit_cache.lock().await.get(&config_hash) { + tracing::info!( + "Emitting cached provider emission for: {}", + config_hash + ); + self.app_handle.emit("provider-emit", found_emit)?; return Ok(()); }; @@ -172,6 +177,8 @@ impl ProviderManager { return Ok(()); } + tracing::info!("Creating provider: {}", config_hash); + let (async_input_tx, async_input_rx) = mpsc::channel(1); let (sync_input_tx, sync_input_rx) = crossbeam::channel::bounded(1);