mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Add symbols to getContext
This commit is contained in:
@ -83,6 +83,7 @@ import { convertCharacterBook, getWorldInfoPrompt, loadWorldInfo, reloadEditor,
|
|||||||
import { ChatCompletionService, TextCompletionService } from './custom-request.js';
|
import { ChatCompletionService, TextCompletionService } from './custom-request.js';
|
||||||
import { ConnectionManagerRequestService } from './extensions/shared.js';
|
import { ConnectionManagerRequestService } from './extensions/shared.js';
|
||||||
import { updateReasoningUI, parseReasoningFromString } from './reasoning.js';
|
import { updateReasoningUI, parseReasoningFromString } from './reasoning.js';
|
||||||
|
import { IGNORE_SYMBOL } from './constants.js';
|
||||||
|
|
||||||
export function getContext() {
|
export function getContext() {
|
||||||
return {
|
return {
|
||||||
@ -225,6 +226,9 @@ export function getContext() {
|
|||||||
parseReasoningFromString,
|
parseReasoningFromString,
|
||||||
unshallowCharacter,
|
unshallowCharacter,
|
||||||
unshallowGroupMembers,
|
unshallowGroupMembers,
|
||||||
|
symbols: {
|
||||||
|
ignore: IGNORE_SYMBOL,
|
||||||
|
},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user