add soficon debug log

This commit is contained in:
xquanluu
2026-05-05 15:36:21 +07:00
parent eb449e9169
commit ab917d29d1
+1
View File
@@ -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);