From ab917d29d132eddfd4f02a8da28bc30af18ad193 Mon Sep 17 00:00:00 2001 From: xquanluu Date: Tue, 5 May 2026 15:36:21 +0700 Subject: [PATCH] add soficon debug log --- lib/tasks/llm/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/tasks/llm/index.js b/lib/tasks/llm/index.js index 60dcf12c..c75ab601 100644 --- a/lib/tasks/llm/index.js +++ b/lib/tasks/llm/index.js @@ -113,6 +113,7 @@ class TaskLlm extends Task { const tool_response = await this.cs?.requestor.request('llm:tool-call', this.toolHook, {tool_call_id, ...data}); // if the toolHook was a websocket it will return undefined, otherwise it should return an object if (typeof tool_response != 'undefined') { + this.logger.info({tool_call_id, tool_response}, 'Received response from toolHook'); tool_response.type = 'client_tool_result'; tool_response.invocation_id = tool_call_id; this.processToolOutput(tool_call_id, tool_response);