We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e6782a commit 61a97c7Copy full SHA for 61a97c7
app/prepdocs/PrepareDocs/Program.Clients.cs
@@ -166,10 +166,11 @@ private static Task<OpenAIClient> GetOpenAIClientAsync(AppOptions options) =>
166
{
167
if (s_openAIClient is null)
168
169
- var useAOAI = Environment.GetEnvironmentVariable("UseAOAI") == "true";
+ var useAOAI = Environment.GetEnvironmentVariable("USE_AOAI") == "true";
170
if (!useAOAI)
171
172
var openAIApiKey = Environment.GetEnvironmentVariable("OPENAI_API_KEY");
173
+ Console.WriteLine("useAOAI value is: " + useAOAI.ToString());
174
ArgumentNullException.ThrowIfNullOrEmpty(openAIApiKey);
175
s_openAIClient = new OpenAIClient(openAIApiKey);
176
}
0 commit comments