-
-
-
- {t("web_search_description")}
-
-
-
- {healthData && (
-
-
-
- {isHealthy
- ? `${t("web_search_status_healthy")} (${healthData.response_time_ms}ms)`
- : isUnavailable
- ? t("web_search_status_not_configured")
- : t("web_search_status_unhealthy")}
-
-
- )}
-
-
-
- {t("web_search_title")}
-
- {t("web_search_enabled_description")}
-
-
-
-
-
-
-
- {t("web_search_enabled_description")}
-
-
-
-
-
- {enabled && (
-
-
-
-
setEngines(e.target.value)}
- className="text-sm md:text-base h-9 md:h-10"
- />
-
- {t("web_search_engines_description")}
-
-
-
-
-
-
-
setLanguage(e.target.value)}
- className="text-sm md:text-base h-9 md:h-10"
- />
-
- {t("web_search_language_description")}
-
-
-
-
-
-
-
- {t("web_search_safesearch_description")}
-
-
-
-
- )}
-
-
-
-
-
-
-
- );
-}
diff --git a/surfsense_web/contracts/types/search-space.types.ts b/surfsense_web/contracts/types/search-space.types.ts
index a71c1bbbb..8a0a2fb4c 100644
--- a/surfsense_web/contracts/types/search-space.types.ts
+++ b/surfsense_web/contracts/types/search-space.types.ts
@@ -9,8 +9,6 @@ export const searchSpace = z.object({
user_id: z.string(),
citations_enabled: z.boolean(),
qna_custom_instructions: z.string().nullable(),
- web_search_enabled: z.boolean(),
- web_search_config: z.record(z.unknown()).nullable(),
member_count: z.number(),
is_owner: z.boolean(),
});
@@ -56,8 +54,6 @@ export const updateSearchSpaceRequest = z.object({
description: true,
citations_enabled: true,
qna_custom_instructions: true,
- web_search_enabled: true,
- web_search_config: true,
})
.partial(),
});