CodeReview/backend/app/services/llm
lintsinghua 4d71ed546a feat(prompts-scan): integrate prompt templates and audit rules into scan and analysis workflows
- Add user configuration retrieval with LLM API key decryption in prompt testing endpoint
- Support output language parameter in prompt template testing
- Integrate rule sets and prompt templates into ZIP file scanning process
- Add rule_set_id and prompt_template_id parameters to ScanRequest model
- Implement analyze_code_with_rules method for custom rule-based code analysis
- Add prompt_template_id support to instant analysis endpoint
- Update scan configuration to include rule set and prompt template selection
- Enhance error handling and logging in prompt testing with traceback output
- Extend InstantAnalysisRequest with optional prompt template ID parameter
- Add test code samples utility for prompt template validation
2025-12-09 23:03:08 +08:00
..
adapters refactor(llm): simplify model name formatting logic in LiteLLMAdapter 2025-12-09 21:13:14 +08:00
__init__.py refactor: 重构项目结构,将前端和后端代码分离到独立目录 2025-11-26 21:11:12 +08:00
base_adapter.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
factory.py feat(llm): enhance LLM connection testing with improved error handling and adapter instantiation 2025-11-28 16:53:01 +08:00
service.py feat(prompts-scan): integrate prompt templates and audit rules into scan and analysis workflows 2025-12-09 23:03:08 +08:00
types.py feat(llm): enhance LLM connection testing with improved error handling and adapter instantiation 2025-11-28 16:53:01 +08:00