fix(frontend):added the display of the 'analyst' message #800 (#801)

This commit is contained in:
Willem Jiang
2026-01-06 20:43:04 +08:00
committed by GitHub
parent 7e10b105ca
commit 1ced90b055
2 changed files with 4 additions and 2 deletions

View File

@@ -12,7 +12,8 @@ export interface Message {
| "researcher"
| "coder"
| "reporter"
| "podcast";
| "podcast"
| "analyst";
role: MessageRole;
isStreaming?: boolean;
content: string;

View File

@@ -240,7 +240,8 @@ function appendMessage(message: Message) {
if (
message.agent === "coder" ||
message.agent === "reporter" ||
message.agent === "researcher"
message.agent === "researcher" ||
message.agent === "analyst"
) {
if (!getOngoingResearchId()) {
const id = message.id;