Add getOneCharacter to getContext
| @@ -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'; |
| 69 | import { | 70 | import { |
| 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, |