add printMessages in st-content so that we can use this func in extension

7c72c1d9f3d9ab255b8d6cebd55d88739640f67f

AyeeMinerva <ayeeminerva@outlook.com>

1 files changed, +2 -0Ignore whitespace
public/scripts/st-context.js+2 -0
@@ -45,6 +45,7 @@ import {
4545 this_chid,
4646 updateChatMetadata,
4747 updateMessageBlock,
48+ printMessages,
4849} from '../script.js';
4950import {
5051 extension_settings,
@@ -203,6 +204,7 @@ export function getContext() {
203204 extractMessageFromData,
204205 getPresetManager,
205206 getChatCompletionModel,
207+ printMessages,
206208 };
207209}
208210