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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user