Skip to content

Commit

Permalink
remove from api reference
Browse files Browse the repository at this point in the history
  • Loading branch information
shahednasser committed Nov 13, 2024
1 parent 6ff7741 commit 1032f68
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions www/apps/api-reference/providers/search.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
import {
usePageLoading,
SearchProvider as UiSearchProvider,
AiAssistantCommandIcon,
AiAssistantProvider,
searchFilters,
} from "docs-ui"
import { config } from "../config"
Expand Down Expand Up @@ -55,27 +53,6 @@ const SearchProvider = ({ children }: SearchProviderProps) => {
),
filterOptions: searchFilters,
}}
commands={[
{
name: "ai-assistant",
icon: <AiAssistantCommandIcon />,
component: (
<AiAssistantProvider
apiUrl={process.env.NEXT_PUBLIC_AI_ASSISTANT_URL || "temp"}
websiteId={process.env.NEXT_PUBLIC_AI_WEBSITE_ID || "temp"}
recaptchaSiteKey={
process.env.NEXT_PUBLIC_AI_API_ASSISTANT_RECAPTCHA_SITE_KEY ||
"temp"
}
/>
),
title: "AI Assistant",
badge: {
variant: "purple",
children: "Beta",
},
},
]}
>
{children}
</UiSearchProvider>
Expand Down

0 comments on commit 1032f68

Please sign in to comment.