diff --git a/surfsense_web/app/dashboard/[search_space_id]/connectors/add/baidu-search-api/page.tsx b/surfsense_web/app/dashboard/[search_space_id]/connectors/add/baidu-search-api/page.tsx index 1eaee9676..6624b8214 100644 --- a/surfsense_web/app/dashboard/[search_space_id]/connectors/add/baidu-search-api/page.tsx +++ b/surfsense_web/app/dashboard/[search_space_id]/connectors/add/baidu-search-api/page.tsx @@ -153,8 +153,8 @@ export default function BaiduSearchApiPage() { Connect Baidu Search - Integrate with Baidu AI Search to enhance your search capabilities with - intelligent Chinese web search results. + Integrate with Baidu AI Search to enhance your search capabilities with intelligent + Chinese web search results. @@ -224,13 +224,9 @@ export default function BaiduSearchApiPage() { ERNIE 3.5 8K ERNIE 4.5 Turbo 32K - - ERNIE 4.5 Turbo 128K - + ERNIE 4.5 Turbo 128K DeepSeek V3 - - Qwen3 235B - + Qwen3 235B @@ -255,7 +251,9 @@ export default function BaiduSearchApiPage() { Baidu Search V1 - Baidu Search V2 (Recommended) + + Baidu Search V2 (Recommended) + diff --git a/surfsense_web/app/dashboard/[search_space_id]/connectors/add/page.tsx b/surfsense_web/app/dashboard/[search_space_id]/connectors/add/page.tsx index ccf02f107..7e63f5815 100644 --- a/surfsense_web/app/dashboard/[search_space_id]/connectors/add/page.tsx +++ b/surfsense_web/app/dashboard/[search_space_id]/connectors/add/page.tsx @@ -65,7 +65,7 @@ const connectorCategories: ConnectorCategory[] = [ description: "Connect to Elasticsearch to index and search documents, logs and metrics.", icon: getConnectorIcon(EnumConnectorName.ELASTICSEARCH_CONNECTOR, "h-6 w-6"), status: "available", - }, + }, { id: "baidu-search-api", title: "Baidu Search", diff --git a/surfsense_web/components/chat/SourceDetailSheet.tsx b/surfsense_web/components/chat/SourceDetailSheet.tsx index ecc8db4d2..e28e35070 100644 --- a/surfsense_web/components/chat/SourceDetailSheet.tsx +++ b/surfsense_web/components/chat/SourceDetailSheet.tsx @@ -53,9 +53,9 @@ export function SourceDetailSheet({ // Check if this is a source type that should render directly from node const isDirectRenderSource = - sourceType === "TAVILY_API" || - sourceType === "LINKUP_API" || - sourceType === "SEARXNG_API" || + sourceType === "TAVILY_API" || + sourceType === "LINKUP_API" || + sourceType === "SEARXNG_API" || sourceType === "BAIDU_SEARCH_API"; useEffect(() => { diff --git a/surfsense_web/components/contact/contact-form.tsx b/surfsense_web/components/contact/contact-form.tsx index 0fd07a056..435ff1365 100644 --- a/surfsense_web/components/contact/contact-form.tsx +++ b/surfsense_web/components/contact/contact-form.tsx @@ -339,7 +339,7 @@ export function GridPattern({ width, height, x, y, squares, ...props }: any) { {squares && ( - + 9.5k + {loadingGithubStars ? ( +
+ ) : ( + + {githubStars} + + )} { const MobileNav = ({ navItems, isScrolled }: any) => { const [open, setOpen] = useState(false); + const { compactFormat: githubStars, loading: loadingGithubStars } = useGithubStars(); return ( <> @@ -160,12 +169,19 @@ const MobileNav = ({ navItems, isScrolled }: any) => { className="flex items-center gap-1.5 rounded-lg px-3 py-2 hover:bg-gray-100 dark:hover:bg-neutral-800 transition-colors" > - - 9.5k - + {loadingGithubStars ? ( +
+ ) : ( + + {githubStars} + + )} - diff --git a/surfsense_web/components/pricing.tsx b/surfsense_web/components/pricing.tsx index 55a8855cb..61c1f4f1f 100644 --- a/surfsense_web/components/pricing.tsx +++ b/surfsense_web/components/pricing.tsx @@ -76,7 +76,10 @@ export function Pricing({
-