mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Add basic WindowAI support
This commit is contained in:
@ -62,6 +62,7 @@ export {
|
||||
setOpenAIMessageExamples,
|
||||
setupOpenAIPromptManager,
|
||||
setupClaudePromptManager,
|
||||
setupWindowAiPromptManager,
|
||||
generateOpenAIPromptCache,
|
||||
prepareOpenAIMessages,
|
||||
sendOpenAIRequest,
|
||||
@ -305,6 +306,10 @@ function setupClaudePromptManager(claudeSettings) {
|
||||
setupOpenAIPromptManager(claudeSettings);
|
||||
}
|
||||
|
||||
function setupWindowAiPromptManager(windowAiSettings) {
|
||||
setupOpenAIPromptManager(windowAiSettings);
|
||||
}
|
||||
|
||||
function generateOpenAIPromptCache() {
|
||||
openai_msgs = openai_msgs.reverse();
|
||||
openai_msgs.forEach(function (msg, i, arr) {
|
||||
|
Reference in New Issue
Block a user