add clearChat in st-context
| @@ -46,6 +46,7 @@ import { | ||
| 46 | 46 | updateChatMetadata, |
| 47 | 47 | updateMessageBlock, |
| 48 | 48 | printMessages, |
| 49 | + clearChat, | |
| 49 | 50 | } from '../script.js'; |
| 50 | 51 | import { |
| 51 | 52 | extension_settings, |
| @@ -205,6 +206,7 @@ export function getContext() { | ||
| 205 | 206 | getPresetManager, |
| 206 | 207 | getChatCompletionModel, |
| 207 | 208 | printMessages, |
| 209 | + clearChat, | |
| 208 | 210 | }; |
| 209 | 211 | } |
| 210 | 212 | |