mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
add clearChat in st-context
This commit is contained in:
@@ -46,6 +46,7 @@ import {
|
|||||||
updateChatMetadata,
|
updateChatMetadata,
|
||||||
updateMessageBlock,
|
updateMessageBlock,
|
||||||
printMessages,
|
printMessages,
|
||||||
|
clearChat,
|
||||||
} from '../script.js';
|
} from '../script.js';
|
||||||
import {
|
import {
|
||||||
extension_settings,
|
extension_settings,
|
||||||
@@ -205,6 +206,7 @@ export function getContext() {
|
|||||||
getPresetManager,
|
getPresetManager,
|
||||||
getChatCompletionModel,
|
getChatCompletionModel,
|
||||||
printMessages,
|
printMessages,
|
||||||
|
clearChat,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user