update:更新自定义写作风格模块
This commit is contained in:
@@ -54,4 +54,9 @@ class ChapterResponse(BaseModel):
|
||||
class ChapterListResponse(BaseModel):
|
||||
"""章节列表响应模型"""
|
||||
total: int
|
||||
items: list[ChapterResponse]
|
||||
items: list[ChapterResponse]
|
||||
|
||||
|
||||
class ChapterGenerateRequest(BaseModel):
|
||||
"""AI生成章节内容的请求模型"""
|
||||
style_id: Optional[int] = Field(None, description="写作风格ID,不提供则不使用任何风格")
|
||||
Reference in New Issue
Block a user