Skip to content

Commit af67ca8

Browse files
committed
fix for customform action message from merge conflict
1 parent b2790ef commit af67ca8

File tree

1 file changed

+7
-4
lines changed
  • packages/core/src/codewhispererChat/controllers/chat/messenger

1 file changed

+7
-4
lines changed

packages/core/src/codewhispererChat/controllers/chat/messenger/messenger.ts

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
*/
55

66
import * as vscode from 'vscode'
7-
import { waitUntil } from '../../../../shared/utilities/timeoutUtils'
87
import {
98
AppToWebViewMessageDispatcher,
109
AuthNeededException,
@@ -394,9 +393,13 @@ export class Messenger {
394393
session.setToolUseWithError({ toolUse, error })
395394
// trigger processToolUseMessage to handle the error
396395
this.dispatcher.sendCustomFormActionMessage(
397-
new CustomFormActionMessage(tabID, {
398-
id: 'generic-tool-execution',
399-
})
396+
new CustomFormActionMessage(
397+
tabID,
398+
{
399+
id: 'generic-tool-execution',
400+
},
401+
triggerID
402+
)
400403
)
401404
}
402405
// TODO: Add a spinner component for fsWrite, previous implementation is causing lag in mynah UX.

0 commit comments

Comments
 (0)