DJ
8b160bba15
fix: use typed context key instead of string literal- Add UserContextKey constant to types package- Replace bare string 'user' with types.UserContextKey in auth middleware- Update user service to use UserContextKey for context value retrieval- Fixes staticcheck SA1029 warningThis prevents potential context key collisions.
2026-01-21 19:12:24 +08:00
wizardchen
1f6bb3f841
feat: 支持Qdrant多维度向量存储和全文检索优化,添加Docker Compose配置
2025-12-08 19:38:16 +08:00
wizardchen
eb8bfddfd1
refactor: Update function signatures across multiple files to improve readability by adding context parameters and enhancing code structure
2025-11-28 16:17:52 +08:00
wizardchen
09642445de
refactor: Sanitize log inputs in user, auth, knowledge, and model handlers to enhance security
2025-11-26 10:50:53 +08:00
wizardchen
a0ada8bcdc
refactor: Improve Elasticsearch query construction and JWT secret retrieval
...
- Enhanced Elasticsearch query construction by safely building the query body using JSON marshaling, improving error handling for query parsing and marshaling.
- Updated JWT secret retrieval to securely generate a random secret if the environment variable is not set, ensuring better security practices.
2025-11-25 23:58:14 +08:00
wizardchen
2f45bf7d86
refactor: Improve Elasticsearch query construction and error handling
2025-11-25 22:06:43 +08:00
wizardchen
64c44c9e27
refactor: Update tenant ID handling across the application
2025-11-25 16:30:54 +08:00
begoniezhao
299f8a097b
feat: Added multi-data source search engine configuration and optimization logic
2025-09-17 10:21:37 +08:00
wizardchen
2495d7c084
feat(ui): Add tenant info
2025-09-16 15:46:18 +08:00
wizardchen
81bd2e6c2c
feat: Add Login Page
2025-09-16 02:47:39 +08:00