Skip to content

Commit d694803

Browse files
committed
fix import
1 parent d2992c0 commit d694803

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ import { helpMessage } from '../../../../amazonq/webview/ui/texts/constants'
4242
import { ChatItemButton, ChatItemFormItem, MynahUIDataModel } from '@aws/mynah-ui'
4343
import { ChatHistoryManager } from '../../../storages/chatHistory'
4444
import { ExecuteBashParams } from '../../../tools/executeBash'
45-
import { FsWriteCommand } from '../../../tools/fsWrite'
45+
import { FsWriteParams } from '../../../tools/fsWrite'
4646

4747
export type StaticTextResponseType = 'quick-action-help' | 'onboarding-help' | 'transform' | 'help'
4848

@@ -618,7 +618,7 @@ export class Messenger {
618618
using the \`executeBash\` tool.`
619619
}
620620
if (toolUse.name === 'fsWrite') {
621-
const input = toolUse.input as unknown as FsWriteCommand
621+
const input = toolUse.input as unknown as FsWriteParams
622622
switch (input.command) {
623623
case 'create': {
624624
return `Writing

0 commit comments

Comments
 (0)