feat: dual LLM mode (default via .env, custom per-request) for AI analysis

This commit is contained in:
hyh
2026-09-04 12:06:05 +08:00
parent 1a935cae6e
commit 4a4c6f2ec2
10 changed files with 154 additions and 63 deletions
+1
View File
@@ -7,6 +7,7 @@ class Requirement(models.Model):
title = models.CharField("标题", max_length=200)
content = models.TextField("作业要求内容")
spec = models.JSONField("检测维度计划", default=dict, blank=True)
llm_config = models.JSONField("LLM 覆盖配置(custom 模式)", default=dict, blank=True)
created_at = models.DateTimeField(auto_now_add=True)
class Meta: