upgrade deps (#1079)

This commit is contained in:
an-lee
2024-09-16 20:36:35 +08:00
committed by GitHub
parent 182cb2cdb2
commit 2eb4761a13
5 changed files with 548 additions and 343 deletions

View File

@@ -11,7 +11,7 @@
"sass": "^1.78.0",
"vitepress": "^1.3.4",
"vitepress-plugin-mermaid": "^2.0.16",
"vue": "^3.5.4"
"vue": "^3.5.6"
},
"scripts": {
"dev": "vitepress dev",
@@ -20,6 +20,6 @@
},
"dependencies": {
"cheerio": "^1.0.0",
"swiper": "^11.1.12"
"swiper": "^11.1.14"
}
}

View File

@@ -11,14 +11,14 @@
},
"dependencies": {
"@nuxtjs/seo": "^2.0.0-rc.21",
"nuxt": "^3.13.1",
"nuxt": "^3.13.2",
"nuxt-og-image": "^3.0.2",
"vue": "^3.5.4",
"vue-router": "^4.4.4"
"vue": "^3.5.6",
"vue-router": "^4.4.5"
},
"devDependencies": {
"autoprefixer": "^10.4.20",
"postcss": "^8.4.45",
"postcss": "^8.4.47",
"sass": "^1.78.0",
"tailwindcss": "^3.4.11"
}

View File

@@ -41,7 +41,7 @@
"@electron-forge/plugin-vite": "^7.4.0",
"@electron-forge/publisher-github": "^7.4.0",
"@electron/fuses": "^1.8.0",
"@playwright/test": "^1.47.0",
"@playwright/test": "^1.47.1",
"@tailwindcss/typography": "^0.5.15",
"@types/ahoy.js": "^0.4.2",
"@types/autosize": "^4.0.3",
@@ -53,10 +53,10 @@
"@types/lodash": "^4.17.7",
"@types/mark.js": "^8.11.12",
"@types/mustache": "^4.2.5",
"@types/node": "^22.5.4",
"@types/node": "^22.5.5",
"@types/prop-types": "^15.7.12",
"@types/rails__actioncable": "^6.1.11",
"@types/react": "^18.3.5",
"@types/react": "^18.3.6",
"@types/react-dom": "^18.3.0",
"@types/semver": "^7.5.8",
"@types/unzipper": "^0.10.10",
@@ -83,7 +83,7 @@
"ts-node": "^10.9.2",
"tslib": "^2.7.0",
"typescript": "^5.6.2",
"vite": "^5.4.4",
"vite": "^5.4.5",
"vite-plugin-static-copy": "^1.0.6",
"zx": "^8.1.6"
},
@@ -92,7 +92,9 @@
"@divisey/js-mdict": "^5.0.0",
"@electron-forge/publisher-s3": "^7.4.0",
"@hookform/resolvers": "^3.9.0",
"@langchain/community": "^0.2.33",
"@langchain/community": "^0.3.0",
"@langchain/core": "^0.3.1",
"@langchain/ollama": "^0.1.0",
"@mozilla/readability": "^0.5.0",
"@radix-ui/react-accordion": "^1.2.0",
"@radix-ui/react-alert-dialog": "^1.1.1",
@@ -123,7 +125,7 @@
"@ricky0123/vad-web": "^0.0.18",
"@sentry/electron": "^5.4.0",
"@uidotdev/usehooks": "^2.4.1",
"@vidstack/react": "^1.12.9",
"@vidstack/react": "^1.12.10",
"ahoy.js": "^0.4.4",
"autosize": "^6.0.1",
"axios": "^1.7.7",
@@ -154,7 +156,7 @@
"i18next": "^23.15.1",
"intl-tel-input": "^24.5.0",
"js-md5": "^0.8.3",
"langchain": "^0.2.19",
"langchain": "^0.3.2",
"lodash": "^4.17.21",
"lru-cache": "^11.0.1",
"lucide-react": "^0.441.0",
@@ -162,9 +164,9 @@
"microsoft-cognitiveservices-speech-sdk": "^1.40.0",
"mustache": "^4.2.0",
"next-themes": "^0.3.0",
"openai": "^4.60.0",
"openai": "^4.61.0",
"pitchfinder": "^2.3.2",
"postcss": "^8.4.45",
"postcss": "^8.4.47",
"proxy-agent": "^6.4.0",
"react": "^18.3.1",
"react-activity-calendar": "^2.5.1",
@@ -174,9 +176,9 @@
"react-frame-component": "^5.2.7",
"react-hook-form": "^7.53.0",
"react-hotkeys-hook": "^4.5.1",
"react-i18next": "^15.0.1",
"react-i18next": "^15.0.2",
"react-markdown": "^9.0.1",
"react-resizable-panels": "^2.1.2",
"react-resizable-panels": "^2.1.3",
"react-router-dom": "^6.26.2",
"react-shadow-root": "^6.2.0",
"react-tooltip": "^5.28.0",

View File

@@ -3,10 +3,10 @@ import {
AISettingsProviderContext,
} from "@renderer/context";
import { useContext } from "react";
import { ChatMessageHistory, BufferMemory } from "langchain/memory/index";
import { ChatMessageHistory, BufferMemory } from "langchain/memory";
import { ConversationChain } from "langchain/chains";
import { ChatOpenAI } from "@langchain/openai";
import { ChatOllama } from "@langchain/community/chat_models/ollama";
import { ChatOllama } from "@langchain/ollama";
import {
ChatPromptTemplate,
MessagesPlaceholder,

851
yarn.lock

File diff suppressed because it is too large Load Diff