update:1.新增手动创建大纲和章节,编写章节规划内容
2.新增项目更新日志页面,同步GitHub更新日志 3.新增章节内容生成时,选择本次生成人称 4.修复1 - N模式下,章节标题无法修改的问题 5.修复章节管理界面,批量生成后没有更新页面内容和状态
This commit is contained in:
@@ -287,7 +287,8 @@ export function useChapterSync() {
|
||||
styleId?: number,
|
||||
targetWordCount?: number,
|
||||
onProgressUpdate?: (message: string, progress: number) => void,
|
||||
model?: string
|
||||
model?: string,
|
||||
narrativePerspective?: string
|
||||
) => {
|
||||
try {
|
||||
// 使用fetch处理流式响应
|
||||
@@ -299,7 +300,8 @@ export function useChapterSync() {
|
||||
body: JSON.stringify({
|
||||
style_id: styleId,
|
||||
target_word_count: targetWordCount,
|
||||
model: model
|
||||
model: model,
|
||||
narrative_perspective: narrativePerspective
|
||||
}),
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user