Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.NET warning when running BasicChat-01MEAI with GitHub Models #20

Closed
aaronpowell opened this issue Feb 6, 2025 · 0 comments · Fixed by #21
Closed

.NET warning when running BasicChat-01MEAI with GitHub Models #20

aaronpowell opened this issue Feb 6, 2025 · 0 comments · Fixed by #21

Comments

@aaronpowell
Copy link
Collaborator

When you run the demo app you get a compiler warning:

/workspaces/Generative-AI-for-beginners-dotnet/02-SettingUp.NETDev/src/BasicChat-01MEAI/Program.cs(7,32): warning CS8604: Possible null reference argument for parameter 'key' in 'AzureKeyCredential.AzureKeyCredential(string key)'.

Image

While it's only a warning, we should update the code to not produce it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant