fix: update environment configuration for debugging and logging, enhance SQLite FTS5 table management, and improve API base URL handling

This commit is contained in:
wizardchen
2026-04-11 05:48:53 +08:00
committed by lyingbug
parent 8a4d58726e
commit 9a2b54536d
35 changed files with 1486 additions and 341 deletions
+2 -1
View File
@@ -1,5 +1,6 @@
import { defineStore } from "pinia";
import { BUILTIN_QUICK_ANSWER_ID, BUILTIN_SMART_REASONING_ID } from "@/api/agent";
import { getApiBaseUrl } from "@/utils/api-base";
// 定义设置接口
interface Settings {
@@ -63,7 +64,7 @@ interface OllamaConfig {
// 默认设置
const defaultSettings: Settings = {
endpoint: import.meta.env.VITE_IS_DOCKER ? "" : "http://localhost:8080",
endpoint: getApiBaseUrl(),
apiKey: "",
knowledgeBaseId: "",
isAgentEnabled: false,