CodeReview/backend/app/services
lintsinghua 11107ea455 feat(analysis): unify code analysis workflow with default template support
- Consolidate instant analysis to always use analyze_code_with_rules method
- Add use_default_template parameter to automatically select database default template when none specified
- Implement fallback logic to use hardcoded defaults only when no database template available
- Auto-select default prompt template on frontend page load
- Add visual labels for language and template selection dropdowns
- Improve template selector UX by removing empty default option and showing default indicator
- Simplifies analysis flow by removing conditional branching between analyze_code and analyze_code_with_rules
2025-12-09 23:13:06 +08:00
..
llm feat(analysis): unify code analysis workflow with default template support 2025-12-09 23:13:06 +08:00
init_templates.py feat(prompts-rules): add prompt templates and audit rules management 2025-12-09 21:42:00 +08:00
report_generator.py fix: 修复时间显示问题,使用带时区的UTC时间 2025-12-09 17:47:34 +08:00
scanner.py feat(prompts-scan): integrate prompt templates and audit rules into scan and analysis workflows 2025-12-09 23:03:08 +08:00
zip_storage.py fix: 修复时间显示问题,使用带时区的UTC时间 2025-12-09 17:47:34 +08:00