diff --git a/lib/tasks/llm/llms/ultravox_s2s.js b/lib/tasks/llm/llms/ultravox_s2s.js index 6d0d621d..1946ba4f 100644 --- a/lib/tasks/llm/llms/ultravox_s2s.js +++ b/lib/tasks/llm/llms/ultravox_s2s.js @@ -218,7 +218,7 @@ class TaskLlmUltravox_S2S extends Task { async _onServerEvent(_ep, evt) { let endConversation = false; const type = evt.type; - this.logger.debug({evt}, 'TaskLlmUltravox_S2S:_onServerEvent'); + //this.logger.debug({evt}, 'TaskLlmUltravox_S2S:_onServerEvent'); /* server errors of some sort */ if (type === 'error') { diff --git a/lib/utils/ws-requestor.js b/lib/utils/ws-requestor.js index 9d68dad2..284b3272 100644 --- a/lib/utils/ws-requestor.js +++ b/lib/utils/ws-requestor.js @@ -293,7 +293,7 @@ class WsRequestor extends BaseRequestor { /* send the message */ this.ws.send(JSON.stringify(obj), async() => { - this.logger.debug({obj}, `WsRequestor:request websocket: sent (${url})`); + if (obj.type !== 'llm:event') this.logger.debug({obj}, `WsRequestor:request websocket: sent (${url})`); // If session:reconnect is waiting for ack, hold here until ack to send queuedMsgs if (this._reconnectPromise) { try {