From 29a7327bd8028b077d5e5e41feeafd04e8a98701 Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Sat, 24 Feb 2024 17:39:14 +0100 Subject: [PATCH] reactive embedding feature --- backend/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/main.rs b/backend/src/main.rs index d2ef3c4250..6e86f6f2d0 100644 --- a/backend/src/main.rs +++ b/backend/src/main.rs @@ -115,7 +115,7 @@ async fn windmill_main() -> anyhow::Result<()> { windmill_api::embeddings::ModelInstance::load_model_files().await?; tracing::info!("Cached embedding model"); } - #[cfg(not(feature = "embeddings"))] { + #[cfg(not(feature = "embedding"))] { tracing::warn!("Embeddings are not enabled, ignoring..."); } return Ok(());