feat(consult): 进度、思考、正文三通道在生成时分开(BUG-942/943/944)
This commit is contained in:
@@ -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, {
|
||||
|
||||
Reference in New Issue
Block a user