You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{
"name": "Error",
"message": "(95,26): error CS0029: Cannot implicitly convert type 'Microsoft.DotNet.Interactive.PasswordString' to 'string'\r
(100,26): error CS0029: Cannot implicitly convert type 'Microsoft.DotNet.Interactive.PasswordString' to 'string'"
}
Had to go to lines 95 and 100 of Settings.cs and change the following:
apiKey = await InteractiveKernel.GetPasswordAsync("Please enter your Azure OpenAI API key");
// and
apiKey= await InteractiveKernel.GetPasswordAsync("Please enter your OpenAI API key");
to
apiKey = (await InteractiveKernel.GetPasswordAsync("Please enter your Azure OpenAI API key")).ToString();
// and
apiKey = (await InteractiveKernel.GetPasswordAsync("Please enter your OpenAI API key")).ToString();
The text was updated successfully, but these errors were encountered:
While trying to run "Step 1️: Set up your OpenAI or Azure OpenAI Service key"
I got the following error:
Had to go to lines 95 and 100 of
Settings.cs
and change the following:to
The text was updated successfully, but these errors were encountered: