{
"defaultInternetSearchOn",
false
)
+
+ const [
+ defaultChatWithWebsite,
+ ] = useStorage("defaultChatWithWebsite", false)
+
const [chatWithWebsiteEmbedding] = useStorage(
"chatWithWebsiteEmbedding",
true
@@ -113,6 +118,9 @@ export const useMessage = () => {
if(defaultInternetSearchOn) {
setWebSearch(true)
}
+ if(defaultChatWithWebsite) {
+ setChatMode("rag")
+ }
}
const chatWithWebsiteMode = async (
@@ -1721,6 +1729,7 @@ export const useMessage = () => {
setSpeechToTextLanguage,
useOCR,
setUseOCR,
- defaultInternetSearchOn
+ defaultInternetSearchOn,
+ defaultChatWithWebsite
}
}
diff --git a/src/utils/oai-api-providers.ts b/src/utils/oai-api-providers.ts
index f0d3239..abe67f4 100644
--- a/src/utils/oai-api-providers.ts
+++ b/src/utils/oai-api-providers.ts
@@ -53,5 +53,10 @@ export const OAI_API_PROVIDERS = [
label: "Mistral",
value: "mistral",
baseUrl: "https://api.mistral.ai/v1"
+ },
+ {
+ label: "DeepSeek",
+ value: "deepseek",
+ baseUrl: "https://api.deepseek.com"
}
]
\ No newline at end of file
diff --git a/wxt.config.ts b/wxt.config.ts
index 297ec16..7230b4e 100644
--- a/wxt.config.ts
+++ b/wxt.config.ts
@@ -51,7 +51,7 @@ export default defineConfig({
outDir: "build",
manifest: {
- version: "1.4.2",
+ version: "1.4.3",
name:
process.env.TARGET === "firefox"
? "Page Assist - A Web UI for Local AI Models"