mirror of
https://github.com/carlrobertoh/ProxyAI.git
synced 2026-05-12 14:10:29 +00:00
Bump llm-client, remove credentials validation for llama service (#263)
This commit is contained in:
parent
9322382c3a
commit
1e4c1e3ca9
2 changed files with 6 additions and 5 deletions
|
|
@ -170,13 +170,14 @@ public abstract class BaseChatToolWindowTabPanel implements ChatToolWindowTabPan
|
|||
}
|
||||
|
||||
private boolean isRequestAllowed() {
|
||||
if (SettingsState.getInstance().isUseAzureService()) {
|
||||
var settings = SettingsState.getInstance();
|
||||
if (settings.isUseAzureService()) {
|
||||
return AzureCredentialsManager.getInstance().isCredentialSet();
|
||||
}
|
||||
if (SettingsState.getInstance().isUseYouService()) {
|
||||
return true;
|
||||
if (settings.isUseOpenAIService()) {
|
||||
return OpenAICredentialsManager.getInstance().isApiKeySet();
|
||||
}
|
||||
return OpenAICredentialsManager.getInstance().isApiKeySet();
|
||||
return true;
|
||||
}
|
||||
|
||||
private void call(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue