Skip to content

Commit

Permalink
chore: lint files
Browse files Browse the repository at this point in the history
  • Loading branch information
bracesproul committed Apr 9, 2024
1 parent 640c1cb commit 864045f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libs/langchain-azure-openai/src/llms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,8 @@ export class AzureOpenAI<
const openAiApiKey =
fields?.openAIApiKey ?? getEnvironmentVariable("OPENAI_API_KEY");

this.azureOpenAIApiKey = fields?.apiKey ??
this.azureOpenAIApiKey =
fields?.apiKey ??
fields?.azureOpenAIApiKey ??
getEnvironmentVariable("AZURE_OPENAI_API_KEY") ??
openAiApiKey;
Expand Down

0 comments on commit 864045f

Please sign in to comment.