add clearChat in st-context

73035c1d1c1e22b3f0c836ff9e95665f91272f7d

AyeeMinerva <ayeeminerva@outlook.com>

1 files changed, +2 -0Showing whitespace changes
public/scripts/st-context.js+2 -0
@@ -46,6 +46,7 @@ import {
4646 updateChatMetadata,
4747 updateMessageBlock,
4848 printMessages,
49+ clearChat,
4950} from '../script.js';
5051import {
5152 extension_settings,
@@ -205,6 +206,7 @@ export function getContext() {
205206 getPresetManager,
206207 getChatCompletionModel,
207208 printMessages,
209+ clearChat,
208210 };
209211}
210212