caoxiaozhu
e7bef0883d
feat: 新增预算后端服务与差旅风险规则库
...
后端新增预算模型、端点和服务模块,支持预算 CRUD 和余额
查询,清理旧生成规则文件并替换为按严重等级分类的差旅风
险规则库,优化认证权限和报销单访问策略,新增财务规则目
录和演示数据构建脚本,前端预算中心增加对话框交互,完善
审计页面运行时模型和元数据展示,补充单元测试。
2026-05-26 17:29:35 +08:00
caoxiaozhu
68f663f2f4
feat: 重构知识库系统,移除Hermes集成,增强RAG和同步功能
...
主要变更:
- 移除Hermes智能体及相关回调服务
- 新增知识库RAG、同步、调度、规范化和索引任务服务
- 重构orchestrator服务,增强运行时聊天功能
- 更新前端聊天、政策制度、设置等页面样式和逻辑
- 更新expense_claims和document_intelligence服务
- 删除llm_wiki相关服务和测试文件
- 更新docker-compose配置和启动脚本
2026-05-17 08:38:41 +00:00
caoxiaozhu
212c935308
feat: 集成Hermes智能体系统,增强聊天和差旅报销功能
2026-05-16 06:14:08 +00:00
caoxiaozhu
6793b6f832
feat(server): 重构知识库服务和路由配置,优化LLM维基知识管理接口,增强知识检索能力
2026-05-15 09:33:59 +00:00
caoxiaozhu
ca29025063
refactor(backend): update services and register OCR router
...
- router.py: register ocr_router with OCR tag
- ontology.py: update ontology service logic
- orchestrator.py: update orchestrator service logic
- user_agent.py: update user agent schema and service
- schemas/user_agent.py: update user agent data schemas
2026-05-12 03:03:15 +00:00
caoxiaozhu
441e27145d
refactor(backend): register ontology and orchestrator routers
...
- router.py: import and register ontology_router and orchestrator_router
- openapi.py: add ontology and orchestrator tags to OpenAPI documentation
- agent_runs.py: extend agent runs service with additional functionality
- test_openapi_schema.py: update OpenAPI schema tests
2026-05-12 01:26:13 +00:00
caoxiaozhu
b2beeaa136
feat: deliver agent foundation day 1
2026-05-11 03:51:24 +00:00
caoxiaozhu
d9133193e8
feat: 完善知识库、策略预览与OnlyOffice集成,增强后端启动依赖检查
2026-05-09 05:59:46 +00:00
caoxiaozhu
619281afc3
feat: 完善系统配置、安全增强与知识库功能
...
- .env.example: API基础路径改为相对路径 /api/v1,支持代理转发
- README.md: 完善项目结构与启动说明文档
- docker-compose.yml: 新增Docker编排配置,支持容器化部署
- docker/: 新增Docker部署相关文档与配置
- server_start.sh: 重构启动脚本,添加容器环境检测、隔离虚拟环境路径、环境变量覆盖机制
- deps.py: 完善API依赖注入,增强权限验证逻辑
- admin_secret.py: 优化管理员密钥加密存储与验证
- config.py: 扩展配置管理,支持多环境变量绑定
- security.py: 增强安全模块,完善加密与认证机制
- db/base.py: 优化数据库基础架构与连接管理
- main.py: 更新应用入口,整合新模块路由
- models/: 完善系统模型配置,支持模型设置持久化
- repositories/settings.py: 优化设置仓储层,增强数据持久化
- services/settings.py: 重构设置服务,精简代码结构
- router.py: 更新API路由配置
- endpoints/knowledge.py: 新增知识库API端点
- schemas/knowledge.py: 新增知识库数据模型
- services/knowledge.py: 新增知识库业务逻辑
- storage/knowledge/.index.json: 知识库索引存储
- api.js: 完善API服务层,增强错误处理
- bootstrap.js: 优化前端初始化与引导流程
- useSetupView.js / useSystemState.js: 重构组合式函数
- TopBar.vue: 优化顶部导航栏组件
- SettingsView.vue: 重构设置页面UI,增强用户体验
- SetupView.vue / SetupRouteView.vue: 完善引导流程页面
- PoliciesView.vue: 优化策略视图组件
- vite.config.js: 更新Vite构建配置
- web_start.sh: 完善前端启动脚本
- views/scripts/: 优化各业务视图JS逻辑
- settings-view.css: 重构设置页面样式
- setup-view.css: 完善引导页样式
- policies-view.css: 优化策略页样式
- test_auth_service.py: 完善认证服务测试
- test_settings_persistence.py: 增强设置持久化测试
- document/: 新增开发文档与工作日志
2026-05-09 03:04:40 +00:00
adda87a01d
feat: add system settings with model connectivity and encrypted storage
2026-05-08 08:56:52 +08:00
b8ba0ea6a0
feat: add auth module with login and access control
2026-05-07 14:34:42 +08:00
83d7da3d62
feat: add FastAPI backend with PostgreSQL and start script fixes
...
- Add server/ directory with FastAPI backend
- Fix server/start.sh to properly handle venv on Windows/Git Bash
- Add alembic migrations and pyproject.toml
- Add server tests
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-06 17:43:47 +08:00