fix:1.修复前端build报错 2.优化环境变量配置

This commit is contained in:
xiamuceer-j
2025-11-19 11:29:31 +08:00
parent 9b17774e13
commit 90dbc2ed2a
4 changed files with 8 additions and 7 deletions
+2 -1
View File
@@ -106,4 +106,5 @@ data/
docs/
data_old/
backend/migrate_all_databases.py
test_api.py
test_api.py
backend/embedding/models--sentence-transformers--all-MiniLM-L6-v2
+1 -1
View File
@@ -81,7 +81,7 @@ OPENAI_BASE_URL=https://api.openai.com/v1
DEFAULT_AI_PROVIDER=openai
DEFAULT_MODEL=gpt-4o-mini
DEFAULT_TEMPERATURE=0.7
DEFAULT_MAX_TOKENS=2000
DEFAULT_MAX_TOKENS=32000
# ==========================================
# LinuxDO OAuth 配置(可选)
+4 -4
View File
@@ -1081,7 +1081,7 @@
"globals": "^14.0.0",
"ignore": "^5.2.0",
"import-fresh": "^3.2.1",
"js-yaml": "^4.1.0",
"js-yaml": "^4.1.1",
"minimatch": "^3.1.2",
"strip-json-comments": "^3.1.1"
},
@@ -3409,9 +3409,9 @@
"license": "MIT"
},
"node_modules/js-yaml": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz",
"integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==",
"version": "4.1.1",
"resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.1.tgz",
"integrity": "sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==",
"dev": true,
"license": "MIT",
"dependencies": {
+1 -1
View File
@@ -6,7 +6,7 @@ import { useOutlineSync } from '../store/hooks';
import { cardStyles } from '../components/CardStyles';
import { SSEPostClient } from '../utils/sseClient';
import { outlineApi, chapterApi } from '../services/api';
import type { OutlineExpansionRequest, OutlineExpansionResponse, BatchOutlineExpansionResponse } from '../types';
import type { OutlineExpansionResponse, BatchOutlineExpansionResponse } from '../types';
const { TextArea } = Input;