feat(ai写作): 大纲整理可见化 + 检索词结合大纲 + 素材/大纲阶段关思考
- 草稿确认卡:「给出修改意见」「让编辑继续审核」移到「确认定稿」上方。 - 大纲整理阶段文案:用户自带大纲时显示「整理你的大纲」而非「规划大纲」 (OutlineStreamingView / 骨架屏 / 状态栏,按 request.userOutline 切换)。 - 素材收集专家:用户自带大纲时把大纲原文带入检索词生成,让关键词结合写作 意图覆盖各章节主题(_keyword_outline_section,agent + legacy 两路)。 - 素材收集(检索词/排序)与大纲整理/生成阶段强制关闭思考 (create_chat_model force_disable_thinking:GLM thinking.disabled + Qwen/vLLM enable_thinking=false),关不掉的模型仍由 ThinkTagParser 把 <think> 分流到思考框正常展示。disable_thinking 串入 _utils.get_model/llm_json 与 _agent_runner.stream/run_writing_agent。 - 含草稿「局部修改」WIP(writer_draft 只重写命中章节)及外观控件改动。 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
8678ceb422
commit
49173d9c28
13 files changed
+485
-36
No files matched your search
@@ -496,9 +496,13 @@ export function AIWritingPanel({
|
||||
/>
|
||||
)}
|
||||
|
||||
{/* 大纲流式思考框 */}
|
||||
{/* 大纲流式思考框(用户自带大纲时文案显示「整理」) */}
|
||||
{state.status === 'writing_outline' && (state.outlineStreamingText || state.outlineThinkingText) && (
|
||||
<OutlineStreamingView text={state.outlineStreamingText} thinkingText={state.outlineThinkingText} />
|
||||
<OutlineStreamingView
|
||||
text={state.outlineStreamingText}
|
||||
thinkingText={state.outlineThinkingText}
|
||||
organizing={!!state.request?.userOutline}
|
||||
/>
|
||||
)}
|
||||
|
||||
{/* 编辑审核流式结果 */}
|
||||
@@ -560,7 +564,11 @@ export function AIWritingPanel({
|
||||
/* 意图解析流式过程中(LLM 还在吐 JSON)不要显示 skeleton */
|
||||
!state.intentStreamingText && !state.intentThinkingText && (
|
||||
<div className="px-4 pb-4">
|
||||
<WritingSkeletonCard status={state.status} researchProgress={state.researchProgress} />
|
||||
<WritingSkeletonCard
|
||||
status={state.status}
|
||||
researchProgress={state.researchProgress}
|
||||
organizing={!!state.request?.userOutline}
|
||||
/>
|
||||
</div>
|
||||
)}
|
||||
|
||||
@@ -605,7 +613,9 @@ export function AIWritingPanel({
|
||||
)}
|
||||
{state.status === 'researching' && state.researchProgress
|
||||
? state.researchProgress
|
||||
: STATUS_LABEL[state.status] ?? state.status}
|
||||
: state.status === 'writing_outline' && state.request?.userOutline
|
||||
? '作家整理你的大纲中…'
|
||||
: STATUS_LABEL[state.status] ?? state.status}
|
||||
</>
|
||||
)}
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user