Skip to content

Commit 01d6f5d

Browse files
committed
fix: add logging
1 parent fb68fa6 commit 01d6f5d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/components/Chat/CopilotInterface.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ export function CopilotInterface({
141141
// Call the AI SDK's addToolResult with the correct argument shape
142142
// Ignore the returned promise for compatibility
143143
chatHook.addToolResult({ tool, toolCallId, output })
144+
console.log("Tool result added:", { toolCallId, tool, output })
144145
chatHook.sendMessage()
145146
}
146147
: () => { console.log("addToolResult not available") }

0 commit comments

Comments
 (0)