Skip to content

Commit

Permalink
Merge pull request HamaWhiteGG#4 from HamaWhiteGG/dev
Browse files Browse the repository at this point in the history
Fix issue HamaWhiteGG#2: [Question] - It looks like a proxy is needed everytime
  • Loading branch information
HamaWhiteGG authored Jun 14, 2023
2 parents e1e2bb5 + c74c2ed commit a0c63ee
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public OpenAI init() {
openaiApiKey = Utils.getOrEnvOrDefault(openaiApiKey, "OPENAI_API_KEY");
openaiApiBase = Utils.getOrEnvOrDefault(openaiApiBase, "OPENAI_API_BASE", "");
openaiOrganization = Utils.getOrEnvOrDefault(openaiOrganization, "OPENAI_ORGANIZATION", "");
openaiProxy = Utils.getOrEnvOrDefault(openaiProxy, "OPENAI_PROXY");
openaiProxy = Utils.getOrEnvOrDefault(openaiProxy, "OPENAI_PROXY","");

this.client = OpenAiClient.builder()
.openaiApiBase(openaiApiBase)
Expand Down

0 comments on commit a0c63ee

Please sign in to comment.