microsoft / Generative-AI-for-beginners-dotnet

Five lessons, learn how to really apply AI to your .NET Applications
https://aka.ms/genainet
MIT License
1.12k stars 802 forks source link

AZURE_AI_SECRET missing #61

Closed emmaforthcom closed 2 months ago

emmaforthcom commented 2 months ago

IN the initial setup for .net and openAI I have forked the repo and added the AZURE_AI_SECRET to the repo. I have made the code changes per the tutorial but encountering a "Value cannot be null. (Parameter 'key')" error. I have re-added the key to the secret value but the issue persists.

emmaforthcom commented 2 months ago

Ah - stopping and starting code space picks up new secrets

elbruno commented 2 months ago

@emmaforthcom thanks for sharing the experience!

If it's happens again, please let us know

Best