Add getOneCharacter to getContext

7a497421bb6c1388a2e6da1ab1e799f0bc98c974

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +2 -0Showing whitespace changes
public/scripts/st-context.js+2 -0
@@ -65,6 +65,7 @@ import {
65 getMediaIndex,65 getMediaIndex,
66 scrollChatToBottom,66 scrollChatToBottom,
67 scrollOnMediaLoad,67 scrollOnMediaLoad,
68 getOneCharacter,
68} from '../script.js';69} from '../script.js';
69import {70import {
70 extension_settings,71 extension_settings,
@@ -214,6 +215,7 @@ export function getContext() {
214 textCompletionSettings: textgenerationwebui_settings,215 textCompletionSettings: textgenerationwebui_settings,
215 powerUserSettings: power_user,216 powerUserSettings: power_user,
216 getCharacters,217 getCharacters,
218 getOneCharacter,
217 getCharacterCardFields,219 getCharacterCardFields,
218 uuidv4,220 uuidv4,
219 humanizedDateTime,221 humanizedDateTime,