diff --git a/server/bleep/src/webserver/search.rs b/server/bleep/src/webserver/search.rs index 4bdefca6ca..ce143e15dd 100644 --- a/server/bleep/src/webserver/search.rs +++ b/server/bleep/src/webserver/search.rs @@ -12,15 +12,8 @@ use tracing::error; pub(super) async fn semantic_code( Query(args): Query, - Extension(semantic): Extension>, + Extension(semantic): Extension, ) -> impl IntoResponse { - let Some(semantic) = semantic else { - return Err(Error::new( - ErrorKind::Configuration, - "Qdrant not configured", - )); - }; - match parser::parse_nl(&args.q.clone()) { Ok(q) => semantic::execute::execute(semantic, q, args) .await