fix(agent): preserve broadcast consultation context
This commit is contained in:
@@ -2991,7 +2991,7 @@ onUnload(() => {
|
||||
border-radius: 999px;
|
||||
background: #eef3f8;
|
||||
color: #5b6b7f;
|
||||
font-size: 11px;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.agent-clarification {
|
||||
|
||||
@@ -111,7 +111,7 @@ export const normalizeAgentResponse = (
|
||||
rewrittenQuery: question,
|
||||
resources: response.resources || [],
|
||||
memoryCandidate,
|
||||
broadcastContext: null,
|
||||
broadcastContext: response.broadcastContext || null,
|
||||
agentStatus: response.status,
|
||||
agentIntent: response.intent,
|
||||
sourceSummary: response.sourceSummary || [],
|
||||
|
||||
@@ -261,6 +261,7 @@ export interface AgentResponse {
|
||||
sourceSummary: AgentSourceSummary[];
|
||||
citations: KnowledgeCitation[];
|
||||
resources: KnowledgeResource[];
|
||||
broadcastContext?: BroadcastKnowledgeContext | null;
|
||||
data?: unknown;
|
||||
actionDraft?: AgentActionDraft | null;
|
||||
clarification?: AgentClarification | null;
|
||||
|
||||
Reference in New Issue
Block a user