Update dependencies and fix import paths
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { saveHistory, saveMessage } from "@/libs/db"
|
||||
import { saveHistory, saveMessage } from "@/db"
|
||||
import { ChatHistory } from "@/store/option"
|
||||
|
||||
export const saveMessageOnError = async ({
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user