feat(consult): 进度、思考、正文三通道在生成时分开(BUG-942/943/944)

This commit is contained in:
jesse-ux
2026-09-18 12:16:20 +08:00
parent 742ffbc6b6
commit 94c1e81fa9
31 changed files with 796 additions and 568 deletions
@@ -869,6 +869,10 @@ export function useConsultationRun(params: ConsultationRunParams) {
streamedThinking += event.text;
frames.setThinking(streamedThinking);
}
if (event.type === "think.step" && event.text) {
streamedThinking += event.text;
frames.setThinking(streamedThinking);
}
if (event.type === "thinking.section") {
thinkingSections = applyThinkingSectionProgress(
upsertThinkingSection(thinkingSections, {