[fix]: 修复快速扫描git仓库时rule_set_id、prompt_template_id参数遗漏#181
[fix]: 修复快速扫描git仓库时rule_set_id、prompt_template_id参数遗漏#181H4lo wants to merge 3 commits intolintsinghua:v3.0.0from
Conversation
|
@H4lo is attempting to deploy a commit to the tsinghuaiiilove-2257's projects Team on Vercel. A member of the Team first needs to authorize it. |
Review Summary by QodoFix missing rule_set_id and prompt_template_id in quick scan
WalkthroughsDescription• Fix missing rule_set_id and prompt_template_id parameters in quick git repository scan • Restructure CreateAuditTaskForm to nest rule/template IDs under scan_config • Update backend to properly extract and pass scan configuration parameters • Ensure custom rule sets and prompt templates work in fast audit mode Diagramflowchart LR
A["CreateAuditTaskForm"] -->|restructure| B["scan_config nested IDs"]
B -->|pass to backend| C["createAuditTask API"]
C -->|extract params| D["scan_repo_task"]
D -->|use custom| E["Rule Set & Template"]
File Changes1. frontend/src/shared/types/index.ts
|
Code Review by Qodo
1.
|
fix syntax error
User description
在对git项目进行“快速审计”时,实际rule_set_id、prompt_template_id这两个参数是没有传入的,导致快速审计时始终无法使用自定义的规则集和提示词模版,需要在前后端加上对应的接口参数。
PR Type
Bug fix
Description