CodeReview/backend/app/api/v1/endpoints
lintsinghua 357b9cc0a7 feat(prompts-rules): add prompt templates and audit rules management
- Add database migration (004) to create prompt_templates, audit_rule_sets, and audit_rules tables with proper indexes
- Create PromptTemplate and AuditRule models with relationships and validation
- Implement prompt template API endpoints for CRUD operations and testing
- Implement audit rules API endpoints for CRUD operations and rule set management
- Add prompt and rules schemas for request/response validation
- Create prompt template initialization service with default system templates
- Integrate LLM service with prompt template system for dynamic prompt selection
- Add frontend pages for PromptManager and AuditRules management
- Add API client utilities for prompts and rules endpoints
- Update API router to include new prompts and rules endpoints
- Update database initialization to seed default templates and rules
- Update sidebar navigation to include new management pages
- Update frontend routes to support new prompt and rules management pages
2025-12-09 21:42:00 +08:00
..
__init__.py refactor: 重构项目结构,将前端和后端代码分离到独立目录 2025-11-26 21:11:12 +08:00
auth.py refactor: 重构项目结构,将前端和后端代码分离到独立目录 2025-11-26 21:11:12 +08:00
config.py feat: 添加敏感信息加密存储功能 2025-11-28 17:51:17 +08:00
database.py fix: 修复时间显示问题,使用带时区的UTC时间 2025-12-09 17:47:34 +08:00
members.py feat: Refactor frontend layout with new sidebar and i18n, update backend LLM adapters, and adjust database models. 2025-11-27 18:01:57 +08:00
projects.py fix: 修复时间显示问题,使用带时区的UTC时间 2025-12-09 17:47:34 +08:00
prompts.py feat(prompts-rules): add prompt templates and audit rules management 2025-12-09 21:42:00 +08:00
rules.py feat(prompts-rules): add prompt templates and audit rules management 2025-12-09 21:42:00 +08:00
scan.py fix: 修复时间显示问题,使用带时区的UTC时间 2025-12-09 17:47:34 +08:00
tasks.py fix: 修复时间显示问题,使用带时区的UTC时间 2025-12-09 17:47:34 +08:00
users.py feat(users): add comprehensive user management with search, filtering, and admin controls 2025-11-28 01:06:01 +08:00