add printMessages in st-content so that we can use this func in extension
| @@ -45,6 +45,7 @@ import { | ||
| 45 | 45 | this_chid, |
| 46 | 46 | updateChatMetadata, |
| 47 | 47 | updateMessageBlock, |
| 48 | + printMessages, | |
| 48 | 49 | } from '../script.js'; |
| 49 | 50 | import { |
| 50 | 51 | extension_settings, |
| @@ -203,6 +204,7 @@ export function getContext() { | ||
| 203 | 204 | extractMessageFromData, |
| 204 | 205 | getPresetManager, |
| 205 | 206 | getChatCompletionModel, |
| 207 | + printMessages, | |
| 206 | 208 | }; |
| 207 | 209 | } |
| 208 | 210 | |