diff --git a/src/components/ai/ai-chat.tsx b/src/components/ai/ai-chat.tsx index f98f202..95d9e68 100644 --- a/src/components/ai/ai-chat.tsx +++ b/src/components/ai/ai-chat.tsx @@ -184,6 +184,9 @@ export const AIChat = forwardRef<{ fillInput: (text: string) => void }, AIChatPr }, ]) }) + }, []) + + useEffect(() => { checkServer() }, [checkServer])