Commit Graph

10 Commits

Author SHA1 Message Date
ash66
10a034e294 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
2026-05-25 13:58:48 +08:00
ash66
091a02c522 Add AgentSessionService and refactor agent routes
Move session-related responsibilities into a new application-layer AgentSessionService (and AgentSessionFeedbackResult dataclass), provide a bootstrap factory (get_agent_session_service), and update agent API routes to call the service instead of accessing ConversationStore directly. Routes now translate ValueError into 404 responses and use service methods for get/list/history/delete/feedback. Also update package exports and docs/READMEs to declare the backend architecture authority, enforce api -> application -> domain ports -> infrastructure boundaries, and call out legacy services/workflows as migration-only. These changes centralize session logic in the application layer and tighten architecture guidance for future backend work.
2026-05-22 09:50:30 +08:00
wangwei
f9ee644f25 feat(perception): backend - mock event store, perception service, /perception API routes 2026-05-22 00:33:43 +08:00
wangwei
6bf5600a26 feat(status): add /health aggregate endpoint and 10s TTL cache on /stats 2026-05-21 23:53:15 +08:00
wangwei
bf6d47e1fd Fix 法规对话 2026-05-21 23:20:39 +08:00
wangwei
b065d55c86 fix 文档管理模块 & 法规对话模块 2026-05-20 23:34:08 +08:00
ash66
c22b03dc07 feat: Migrate document parsing to Aliyun and update embedding configurations
- Updated LocalDocumentParser to include raw_layouts and artifact_prefix from settings.
- Added new documents with failure reasons and metadata to documents.json for better error tracking.
- Created a new documentation file detailing the Aliyun ingest implementation process.
- Updated RFC to reflect changes in the parsing backend and embedding dimensions.
- Modified tests to accommodate the new embedding dimension of 1024 and updated parser and chunk builder assertions.
- Verified migration configurations to ensure correct settings for embedding model and backend.
2026-05-18 22:30:28 +08:00
ash66
3f69cad404 Fix SSE route dependency and align architecture docs 2026-05-18 16:32:42 +08:00
ash66
35cd927d02 Refactor code structure for improved readability and maintainability 2026-05-14 18:09:15 +08:00
wangwei
10d04c4083 update 2026-05-14 15:07:34 +08:00