Update dependencies and fix import paths

This commit is contained in:
n4ze3m
2024-04-05 20:28:29 +05:30
parent d91d4c4761
commit ac347a3970
43 changed files with 1142 additions and 99 deletions

View File

@@ -1,4 +1,4 @@
import { saveHistory, saveMessage } from "@/libs/db"
import { saveHistory, saveMessage } from "@/db"
import { ChatHistory } from "@/store/option"
export const saveMessageOnError = async ({

View File

@@ -15,7 +15,7 @@ import {
getPromptById,
removeMessageUsingHistoryId,
updateMessageByIndex
} from "~/libs/db"
} from "@/db"
import { useNavigate } from "react-router-dom"
import { notification } from "antd"
import { getSystemPromptForWeb } from "~/web/web"