Skip to content

Commit

Permalink
Remove unused variable (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdubois authored Mar 12, 2024
1 parent 2698c79 commit 32d0f25
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/main/java/dev/ai4j/openai4j/DefaultOpenAiClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ public class DefaultOpenAiClient extends OpenAiClient {
private final OkHttpClient okHttpClient;
private final OpenAiApi openAiApi;
private final boolean logStreamingResponses;
private final String userAgent;

public DefaultOpenAiClient(String apiKey) {
this(new Builder().openAiApiKey(apiKey));
Expand All @@ -42,7 +41,6 @@ public DefaultOpenAiClient(String apiKey) {
private DefaultOpenAiClient(Builder serviceBuilder) {
this.baseUrl = serviceBuilder.baseUrl;
this.apiVersion = serviceBuilder.apiVersion;
this.userAgent = serviceBuilder.userAgent;

OkHttpClient.Builder okHttpClientBuilder = new OkHttpClient.Builder()
.callTimeout(serviceBuilder.callTimeout)
Expand Down

0 comments on commit 32d0f25

Please sign in to comment.