Skip to content

Commit 88de54e

Browse files
committed
fix: chat
1 parent afa2c09 commit 88de54e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/components/Chat/CopilotInterface.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,10 +140,10 @@ export function CopilotInterface({
140140
? (toolCallId: string, tool: string, output: any) => {
141141
// Call the AI SDK's addToolResult with the correct argument shape
142142
// Ignore the returned promise for compatibility
143-
void chatHook.addToolResult({ tool, toolCallId, output })
144-
void chatHook.sendMessage()
143+
chatHook.addToolResult({ tool, toolCallId, output })
144+
chatHook.sendMessage()
145145
}
146-
: () => {}
146+
: () => { console.log("addToolResult not available") }
147147
// Safe initialization of business units with fallback
148148
const safeBusinessUnits = businessUnits || []
149149
const fallbackBusinessUnit: BusinessUnit = {

0 commit comments

Comments
 (0)