完善附件管理与生成任务跟踪

This commit is contained in:
zwt13703
2026-07-02 18:26:50 +08:00
parent d3530ab0b7
commit 401e8cf57b
16 changed files with 873 additions and 203 deletions
+5 -1
View File
@@ -87,7 +87,11 @@ class GenerateTestRequest(BaseModel):
class GenerateFullRequest(BaseModel):
template_id: int
file_map: dict[str, str] = {} # paragraph_id -> file_path
file_map: dict[str, list[str]] = {} # paragraph_id -> file_paths
class ReferenceFileUpdate(BaseModel):
file_name: str = Field(min_length=1, max_length=255)
class DocumentOut(BaseModel):
id: int