mirror of
https://github.com/carlrobertoh/ProxyAI.git
synced 2026-05-11 21:31:04 +00:00
Fix model changed logic
This commit is contained in:
parent
14acc5b09f
commit
dea80fe8aa
1 changed files with 1 additions and 1 deletions
|
|
@ -78,7 +78,7 @@ public class SettingsConfigurable implements Configurable {
|
|||
var azureSettings = AzureSettingsState.getInstance();
|
||||
var llamaSettings = LlamaSettingsState.getInstance();
|
||||
var serviceChanged = isServiceChanged(settings);
|
||||
var modelChanged = openAISettings.getModel().equals(serviceSelectionForm.getOpenAIModel());
|
||||
var modelChanged = !openAISettings.getModel().equals(serviceSelectionForm.getOpenAIModel());
|
||||
|
||||
var prevKey = OpenAICredentialsManager.getInstance().getApiKey();
|
||||
if (prevKey != null && !prevKey.equals(serviceSelectionForm.getOpenAIApiKey())) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue