@@ -1128,7 +1128,7 @@ export class DiscordRealtimeVoiceSession implements VoiceRealtimeSession {
|
1128 | 1128 | return; |
1129 | 1129 | } |
1130 | 1130 | logger.info( |
1131 | | -`discord voice: realtime consult requested call=${callId || "unknown"} voiceSession=${this.params.entry.voiceSessionKey} supervisorSession=${this.params.entry.route.sessionKey} agent=${this.params.entry.route.agentId} question=${formatRealtimeLogPreview(consultMessage)}`, |
| 1131 | +`discord voice: realtime consult requested call=${callId || "unknown"} voiceSession=${this.params.entry.voiceSessionKey} supervisorSession=${this.params.entry.route.sessionKey} agent=${this.params.entry.route.agentId} question=${formatVoiceLogPreview(consultMessage)}`, |
1132 | 1132 | ); |
1133 | 1133 | const nativeConsult = this.forcedConsults.recordNativeConsult(event.args, callId); |
1134 | 1134 | const pendingConsult = nativeConsult.kind === "pending" ? nativeConsult.handle : undefined; |
@@ -1184,7 +1184,7 @@ export class DiscordRealtimeVoiceSession implements VoiceRealtimeSession {
|
1184 | 1184 | void promise |
1185 | 1185 | .then((text) => { |
1186 | 1186 | logger.info( |
1187 | | -`discord voice: realtime consult answer (${text.length} chars) voiceSession=${this.params.entry.voiceSessionKey} supervisorSession=${this.params.entry.route.sessionKey} agent=${this.params.entry.route.agentId} speaker=${context.speakerLabel} owner=${context.senderIsOwner}: ${formatRealtimeLogPreview(text)}`, |
| 1187 | +`discord voice: realtime consult answer (${text.length} chars) voiceSession=${this.params.entry.voiceSessionKey} supervisorSession=${this.params.entry.route.sessionKey} agent=${this.params.entry.route.agentId} speaker=${context.speakerLabel} owner=${context.senderIsOwner}: ${formatVoiceLogPreview(text)}`, |
1188 | 1188 | ); |
1189 | 1189 | session.submitToolResult(callId, { text }); |
1190 | 1190 | }) |
@@ -1478,7 +1478,7 @@ export class DiscordRealtimeVoiceSession implements VoiceRealtimeSession {
|
1478 | 1478 | this.setRecentAgentProxyConsultPromise(pending, promise); |
1479 | 1479 | const text = await promise; |
1480 | 1480 | logger.info( |
1481 | | -`discord voice: realtime forced agent consult answer (${text.length} chars) elapsedMs=${Date.now() - startedAt} voiceSession=${this.params.entry.voiceSessionKey} supervisorSession=${this.params.entry.route.sessionKey} agent=${this.params.entry.route.agentId}: ${formatRealtimeLogPreview(text)}`, |
| 1481 | +`discord voice: realtime forced agent consult answer (${text.length} chars) elapsedMs=${Date.now() - startedAt} voiceSession=${this.params.entry.voiceSessionKey} supervisorSession=${this.params.entry.route.sessionKey} agent=${this.params.entry.route.agentId}: ${formatVoiceLogPreview(text)}`, |
1482 | 1482 | ); |
1483 | 1483 | if (text.trim()) { |
1484 | 1484 | this.enqueueExactSpeechMessage(text); |
|