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: Bug: .NET secret section name is wrong in HomeAutomation Demo. #10049

Open
tanaka-takayoshi opened this issue Jan 1, 2025 · 2 comments
Labels
bug Something isn't working .NET Issue or Pull requests regarding .NET code

Comments

@tanaka-takayoshi
Copy link

Describe the bug
A specified name of the secret section and wrong. The demo project failed to launch.

To Reproduce

  1. Open HomeAutomation project.
  2. Configure secret as written in README.
  3. Execute the project, e.g. dotnet run.
  4. See error

Expected behavior
The project should work fine without error.

Screenshots

Platform

  • OS: confirmed in Windows but not limited.
  • IDE: confirmed in Visual Studio.
  • Language: C#
  • Source: main branch of this repo.

Additional context
This line should be the following:

.Bind(builder.Configuration.GetSection(AzureOpenAIOptions.SectionName))

If it's ok to create one-line pull request, I'll submit.

@tanaka-takayoshi tanaka-takayoshi added the bug Something isn't working label Jan 1, 2025
@markwallace-microsoft markwallace-microsoft added .NET Issue or Pull requests regarding .NET code triage labels Jan 1, 2025
@github-actions github-actions bot changed the title Bug: .NET secret section name is wrong in HomeAutomation Demo. .Net: Bug: .NET secret section name is wrong in HomeAutomation Demo. Jan 1, 2025
@evchaki
Copy link
Contributor

evchaki commented Jan 2, 2025

@SergeyMenshykh / @RogerBarreto can you take a look at this?

@evchaki evchaki removed the triage label Jan 2, 2025
@alliscode
Copy link
Member

Hi @tanaka-takayoshi if you would like to contribute a pull request with this fix, we would be happy to take it. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working .NET Issue or Pull requests regarding .NET code
Projects
None yet
Development

No branches or pull requests

4 participants