Initialize prompt manager on selecting openrouter, scale
This commit is contained in:
parent
fc555c1be5
commit
ec806db9f7
|
@ -4563,15 +4563,18 @@ function changeMainAPI() {
|
||||||
|
|
||||||
switch (oai_settings.chat_completion_source) {
|
switch (oai_settings.chat_completion_source) {
|
||||||
case chat_completion_sources.OPENAI:
|
case chat_completion_sources.OPENAI:
|
||||||
console.log('Setting up OpenAI prompt manager');
|
|
||||||
setupOpenAIPromptManager(oai_settings);
|
setupOpenAIPromptManager(oai_settings);
|
||||||
break;
|
break;
|
||||||
case chat_completion_sources.CLAUDE:
|
case chat_completion_sources.CLAUDE:
|
||||||
console.log('Setting up Claude prompt manager');
|
|
||||||
setupClaudePromptManager(oai_settings);
|
setupClaudePromptManager(oai_settings);
|
||||||
break;
|
break;
|
||||||
case chat_completion_sources.WINDOWAI:
|
case chat_completion_sources.WINDOWAI:
|
||||||
console.log('Setting up WindowAI prompt manager');
|
setupWindowAiPromptManager(oai_settings);
|
||||||
|
break;
|
||||||
|
case chat_completion_sources.OPENROUTER:
|
||||||
|
setupWindowAiPromptManager(oai_settings);
|
||||||
|
break;
|
||||||
|
case chat_completion_sources.SCALE:
|
||||||
setupWindowAiPromptManager(oai_settings);
|
setupWindowAiPromptManager(oai_settings);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue