@cloud411716/fancy-webnovel 0.1.29 → 0.1.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -301,7 +301,7 @@ async function applyScan(ctx) {
|
|
|
301
301
|
// 发消息给 LLM,让它读取原始文件并生成分析
|
|
302
302
|
const analysisPrompt =
|
|
303
303
|
`## 扫榜数据分析任务\n\n` +
|
|
304
|
-
`平台:${
|
|
304
|
+
`平台:${platformLabel(platform)}(${length === 'long' ? '长篇' : '短篇'})\n` +
|
|
305
305
|
`时间:${receipt.date || ''}\n\n` +
|
|
306
306
|
`已生成的文件:\n${fileList}\n\n` +
|
|
307
307
|
`请执行以下步骤:\n` +
|
|
@@ -312,10 +312,10 @@ async function applyScan(ctx) {
|
|
|
312
312
|
`5. 将完整分析报告追加写入:${topicFile}\n\n` +
|
|
313
313
|
`报告要求:\n- 客观分析数据,不臆测\n- 选题建议要有差异化竞争力\n- 报告语言:中文`;
|
|
314
314
|
|
|
315
|
-
|
|
315
|
+
invocation.agent.followup({
|
|
316
316
|
content: [{ type: 'text', text: analysisPrompt }],
|
|
317
317
|
source: { kind: 'user' }
|
|
318
|
-
}
|
|
318
|
+
});
|
|
319
319
|
|
|
320
320
|
return { kind: 'success', text: '' };
|
|
321
321
|
}
|