fix: fix first search failed bugs

This commit is contained in:
CaiHQ 2025-08-25 19:23:19 +08:00
parent b47669f3e4
commit 121dfabbd1
3 changed files with 3 additions and 3 deletions

View File

@ -48,6 +48,7 @@ export class IodDb {
return defaultIodConnectionConfig
}
IodDb.iodConnectionConfig = JSON.parse(val)
return IodDb.iodConnectionConfig
} catch (error) {
console.warn('Failed to parse IOD connection config, using default:', error)
return defaultIodConnectionConfig

View File

@ -34,7 +34,7 @@ const DEFAULT_WEBSEARCH_PROMPT = `你是一个中文AI助手当前日期和
</数联网搜索结果>
<数联网搜索结果><数联网搜索结果>
<数联网搜索结果>
使
4
`

View File

@ -1,4 +1,5 @@
import { defineConfig } from "wxt"
import { defineRunnerConfig } from "wxt"
import react from "@vitejs/plugin-react"
import topLevelAwait from "vite-plugin-top-level-await"
@ -8,7 +9,6 @@ const chromeMV3Permissions = [
"activeTab",
"scripting",
"declarativeNetRequest",
"action",
"unlimitedStorage",
"contextMenus",
"tts",
@ -49,7 +49,6 @@ export default defineConfig({
process.env.TARGET === "firefox" ? "entries-firefox" : "entries",
srcDir: "src",
outDir: "build",
manifest: {
version: "1.5.0",
name: