mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-03 21:29:08 +00:00
Centralize use of useUserConfig and use that to retrieve default model and chat model options
This commit is contained in:
@@ -171,7 +171,7 @@ export default function Agents() {
|
||||
error: authenticationError,
|
||||
isLoading: authenticationLoading,
|
||||
} = useAuthenticatedData();
|
||||
const { userConfig } = useUserConfig(true);
|
||||
const { data: userConfig } = useUserConfig(true);
|
||||
const [showLoginPrompt, setShowLoginPrompt] = useState(false);
|
||||
const isMobileWidth = useIsMobileWidth();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user