Skip to content

Commit

Permalink
Bump llm-client, remove credentials validation for llama service (#263)
Browse files Browse the repository at this point in the history
  • Loading branch information
carlrobertoh authored Nov 7, 2023
1 parent 9322382 commit 1e4c1e3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ intellij {
}

dependencies {
implementation("ee.carlrobert:llm-client:0.0.8")
implementation("ee.carlrobert:llm-client:0.0.9")
}

tasks {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,13 +170,14 @@ public void dispose() {
}

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(
Expand Down

0 comments on commit 1e4c1e3

Please sign in to comment.