Add symbols to getContext
| @@ -83,6 +83,7 @@ import { convertCharacterBook, getWorldInfoPrompt, loadWorldInfo, reloadEditor, | ||
| 83 | 83 | import { ChatCompletionService, TextCompletionService } from './custom-request.js'; |
| 84 | 84 | import { ConnectionManagerRequestService } from './extensions/shared.js'; |
| 85 | 85 | import { updateReasoningUI, parseReasoningFromString } from './reasoning.js'; |
| 86 | +import { IGNORE_SYMBOL } from './constants.js'; | |
| 86 | 87 | |
| 87 | 88 | export function getContext() { |
| 88 | 89 | return { |
| @@ -225,6 +226,9 @@ export function getContext() { | ||
| 225 | 226 | parseReasoningFromString, |
| 226 | 227 | unshallowCharacter, |
| 227 | 228 | unshallowGroupMembers, |
| 229 | + symbols: { | |
| 230 | + ignore: IGNORE_SYMBOL, | |
| 231 | + }, | |
| 228 | 232 | }; |
| 229 | 233 | } |
| 230 | 234 | |