mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-09 20:27:44 +00:00
docs: fix optimize ai streaming query (#5013)
This commit is contained in:
committed by
GitHub
parent
13872bea56
commit
c0c4a71e71
@@ -15,8 +15,6 @@ import {
|
||||
import { useDocsSearch } from "fumadocs-core/search/client";
|
||||
import { OramaClient } from "@oramacloud/client";
|
||||
import { useI18n } from "fumadocs-ui/contexts/i18n";
|
||||
import { Button } from "@/components/ui/button";
|
||||
import { Bot } from "lucide-react";
|
||||
import { AIChatModal, aiChatModalAtom } from "./ai-chat-modal";
|
||||
import { useAtom } from "jotai";
|
||||
|
||||
@@ -57,15 +55,6 @@ export function CustomSearchDialog(props: SharedProps) {
|
||||
<SearchDialogHeader>
|
||||
<SearchDialogIcon />
|
||||
<SearchDialogInput />
|
||||
<Button
|
||||
variant="ghost"
|
||||
size="sm"
|
||||
onClick={handleAskAIClick}
|
||||
className="flex items-center gap-2 mr-2 text-sm hover:bg-muted"
|
||||
>
|
||||
<Bot className="h-4 w-4" />
|
||||
Ask AI
|
||||
</Button>
|
||||
<SearchDialogClose className="hidden md:block" />
|
||||
</SearchDialogHeader>
|
||||
<SearchDialogList
|
||||
|
||||
Reference in New Issue
Block a user