add clearChat in st-context

73035c1d1c1e22b3f0c836ff9e95665f91272f7d

AyeeMinerva <ayeeminerva@outlook.com>

1 files changed, +2 -0Ignore whitespace
public/scripts/st-context.js+2 -0
@@ -46,6 +46,7 @@ import {
46 updateChatMetadata,46 updateChatMetadata,
47 updateMessageBlock,47 updateMessageBlock,
48 printMessages,48 printMessages,
49 clearChat,
49} from '../script.js';50} from '../script.js';
50import {51import {
51 extension_settings,52 extension_settings,
@@ -205,6 +206,7 @@ export function getContext() {
205 getPresetManager,206 getPresetManager,
206 getChatCompletionModel,207 getChatCompletionModel,
207 printMessages,208 printMessages,
209 clearChat,
208 };210 };
209}211}
210212