Update dependencies and import paths

This commit is contained in:
n4ze3m
2024-02-23 23:25:17 +05:30
parent 743f8d4d36
commit 1c980c4059
38 changed files with 450 additions and 6042 deletions

View File

@@ -1,9 +1,9 @@
import { useQuery } from "@tanstack/react-query"
import { RotateCcw } from "lucide-react"
import { useEffect, useState } from "react"
import { useMessage } from "~hooks/useMessage"
import { RotateCcw } from "~icons/RotateCcw"
import {
fetchModels,
fetchChatModels,
getOllamaURL,
isOllamaRunning,
setOllamaURL as saveOllamaURL
@@ -21,7 +21,7 @@ export const EmptySidePanel = () => {
queryFn: async () => {
const ollamaURL = await getOllamaURL()
const isOk = await isOllamaRunning()
const models = await fetchModels()
const models = await fetchChatModels()
return {
isOk,