Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
justjais committed Dec 3, 2024
1 parent 754605c commit 86bbd5b
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions ansible_ai_connect_chatbot/src/AnsibleChatbot/AnsibleChatbot.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ import lightspeedLogoDark from "../assets/lightspeed_dark.svg";

import "./AnsibleChatbot.scss";
import {

Check failure on line 36 in ansible_ai_connect_chatbot/src/AnsibleChatbot/AnsibleChatbot.tsx

View workflow job for this annotation

GitHub Actions / lint

Replace `⏎··useChatbot,⏎` with `·useChatbot·`
inDebugMode,
modelsSupported,
useChatbot,
} from "../useChatbot/useChatbot";
import { ReferencedDocuments } from "../ReferencedDocuments/ReferencedDocuments";
Expand Down Expand Up @@ -84,8 +82,6 @@ export const AnsibleChatbot: React.FunctionComponent = () => {
handleSend,
alertMessage,
setAlertMessage,
selectedModel,
setSelectedModel,
setConversationId,
} = useChatbot();
const [chatbotVisible, setChatbotVisible] = useState<boolean>(true);
Expand All @@ -102,13 +98,6 @@ export const AnsibleChatbot: React.FunctionComponent = () => {
scrollToBottom();
}, [messages]);

const onSelectModel = (
_event: React.MouseEvent<Element, MouseEvent> | undefined,
value: string | number | undefined,
) => {
setSelectedModel(value as string);
};

const onSelectDisplayMode = (
_event: React.MouseEvent<Element, MouseEvent> | undefined,
value: string | number | undefined,
Expand Down

0 comments on commit 86bbd5b

Please sign in to comment.