mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Remove doubled initialization of prompt manager
This commit is contained in:
@ -2115,7 +2115,6 @@ async function onModelChange() {
|
|||||||
if ($(this).is('#model_claude_select')) {
|
if ($(this).is('#model_claude_select')) {
|
||||||
console.log('Claude model changed to', value);
|
console.log('Claude model changed to', value);
|
||||||
oai_settings.claude_model = value;
|
oai_settings.claude_model = value;
|
||||||
//setupOpenAIPromptManager(openai_settings);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($(this).is('#model_windowai_select')) {
|
if ($(this).is('#model_windowai_select')) {
|
||||||
@ -2126,7 +2125,6 @@ async function onModelChange() {
|
|||||||
if ($(this).is('#model_openai_select')) {
|
if ($(this).is('#model_openai_select')) {
|
||||||
console.log('OpenAI model changed to', value);
|
console.log('OpenAI model changed to', value);
|
||||||
oai_settings.openai_model = value;
|
oai_settings.openai_model = value;
|
||||||
setupOpenAIPromptManager(openai_settings);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($(this).is('#model_openrouter_select')) {
|
if ($(this).is('#model_openrouter_select')) {
|
||||||
|
Reference in New Issue
Block a user