From 55b873fe8085000f7b8ac04908c7c508193f2ba3 Mon Sep 17 00:00:00 2001 From: misspia-cohere Date: Tue, 30 Apr 2024 13:47:59 -0400 Subject: [PATCH] fix experiemental features hook import --- src/interfaces/coral_web/src/hooks/streamChat.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/interfaces/coral_web/src/hooks/streamChat.ts b/src/interfaces/coral_web/src/hooks/streamChat.ts index 55bbe383ae..e077c58888 100644 --- a/src/interfaces/coral_web/src/hooks/streamChat.ts +++ b/src/interfaces/coral_web/src/hooks/streamChat.ts @@ -14,7 +14,7 @@ import { isUnauthorizedError, useCohereClient, } from '@/cohere-client'; -import { useGetExperimentalFeatures } from '@/hooks/experimentalFeatures'; +import { useExperimentalFeatures } from '@/hooks/experimentalFeatures'; interface StreamingParams { onRead: (data: ChatResponse) => void; @@ -46,7 +46,7 @@ export const useStreamChat = () => { const abortControllerRef = useRef(null); const cohereClient = useCohereClient(); const queryClient = useQueryClient(); - const { data: experimentalFeatures } = useGetExperimentalFeatures(); + const { data: experimentalFeatures } = useExperimentalFeatures(); useEffect(() => { return () => {