feat(bootstrap): refactor runtime dependency management and add lazy loading for binary store and vector index

feat(agent): update import for agent session service
feat(openai): add context truncation check in OpenAI answer generator
docs(README): update frontend environment file conventions
fix(vite): default local frontend development to local backend
This commit is contained in:
ash66
2026-05-25 13:58:48 +08:00
parent 091a02c522
commit 10a034e294
11 changed files with 162 additions and 15 deletions

View File

@@ -49,6 +49,12 @@ npm run dev
启动本地开发服务器,默认访问 `http://localhost:5173`
前端环境文件约定如下:
- `frontend/.env.development`:本地开发,默认代理到 `http://127.0.0.1:8000`
- `frontend/.env.production`:生产构建,默认代理到 `http://6.86.80.8:8000`
- `frontend/.env.local`:临时覆盖本机配置,优先级高于上面两者
### 构建生产版本
```bash