Add symbols to getContext

e5d5f953ec3cdfb809a1ae0da73d7ab75ea482e5

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

1 files changed, +4 -0Ignore whitespace
public/scripts/st-context.js+4 -0
@@ -83,6 +83,7 @@ import { convertCharacterBook, getWorldInfoPrompt, loadWorldInfo, reloadEditor,
8383import { ChatCompletionService, TextCompletionService } from './custom-request.js';
8484import { ConnectionManagerRequestService } from './extensions/shared.js';
8585import { updateReasoningUI, parseReasoningFromString } from './reasoning.js';
86+import { IGNORE_SYMBOL } from './constants.js';
8687
8788export function getContext() {
8889 return {
@@ -225,6 +226,9 @@ export function getContext() {
225226 parseReasoningFromString,
226227 unshallowCharacter,
227228 unshallowGroupMembers,
229+ symbols: {
230+ ignore: IGNORE_SYMBOL,
231+ },
228232 };
229233}
230234