Skip to content

Commit eb099c9

Browse files
author
smallstone
committed
Add messageUtil handler for chatWithDevChat command
1 parent 984f5bc commit eb099c9

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/views/components/InputMessage/index.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,12 @@ const InputMessage = observer((props: any) => {
188188
input.updateCommands(message.result);
189189
}
190190
);
191+
messageUtil.registerHandler(
192+
"chatWithDevChat",
193+
(message: { command: string; message: string }) => {
194+
chat.commonMessage(message.message, []);
195+
}
196+
);
191197
messageUtil.registerHandler(
192198
"appendContext",
193199
(message: { command: string; context: string }) => {

0 commit comments

Comments
 (0)