fix(web): handle chat stop hits
This commit is contained in:
parent
83fd78f293
commit
2aebc714ae
|
|
@ -608,6 +608,11 @@ impl WidgetHost {
|
|||
self.mark_dirty();
|
||||
return true;
|
||||
}
|
||||
AIChatHit::Stop => {
|
||||
self.editor_state.chat.stop_streaming();
|
||||
self.mark_dirty();
|
||||
return true;
|
||||
}
|
||||
AIChatHit::Example(text) => {
|
||||
self.editor_state.chat.input = text;
|
||||
self.editor_state.chat.focused = true;
|
||||
|
|
|
|||
Loading…
Reference in a new issue