File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
src/interfaces/assistants_web/src
components/HotKeys/custom-views Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,7 @@ import { useState } from 'react';
7
7
8
8
import { AgentLogo } from '@/components/Agents/AgentLogo' ;
9
9
import { CommandActionGroup , HotKeyGroupOption , HotKeysDialogInput } from '@/components/HotKeys' ;
10
- import { useGetDefaultAgent } from '@/hooks' ;
11
- import { useConversations , useListAgents } from '@/hooks' ;
10
+ import { useConversations , useListAgents , useGetDefaultAgent } from '@/hooks' ;
12
11
13
12
type Props = {
14
13
isOpen : boolean ;
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ export const useGetDefaultAgent = () => {
16
16
const cohereClient = useCohereClient ( ) ;
17
17
18
18
return useQuery ( {
19
- queryKey : [ 'defaultAgent' ] ,
19
+ queryKey : [ 'agent' , null ] ,
20
20
queryFn : async ( ) => cohereClient . getDefaultAgent ( ) ,
21
21
} ) ;
22
22
} ;
You can’t perform that action at this time.
0 commit comments