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
autogen\dotnet\samples\Hello\HelloAIAgents>dotnet run
fails:
Unhandled exception. System.InvalidOperationException: No connection string named 'HelloAIAgents' was found. Ensure a corresponding Aspire service was registered.
What did you expect to happen?
autogen\dotnet\samples\Hello\HelloAIAgents>dotnet run
runs fine
How can we reproduce it (as minimally and precisely as possible)?
autogen\dotnet\samples\Hello\HelloAIAgents>dotnet run
The issue is a typo in dotnet/samples/Hello/HelloAIAgents/Program.cs.
Fix:
-builder.Configuration["ConectionStrings:HelloAIAgents"] = Environment.GetEnvironmentVariable("AZURE_OPENAI_CONNECTION_STRING");
+builder.Configuration["ConnectionStrings:HelloAIAgents"] = Environment.GetEnvironmentVariable("AZURE_OPENAI_CONNECTION_STRING");
What happened?
autogen\dotnet\samples\Hello\HelloAIAgents>dotnet run
fails:
Unhandled exception. System.InvalidOperationException: No connection string named 'HelloAIAgents' was found. Ensure a corresponding Aspire service was registered.
What did you expect to happen?
autogen\dotnet\samples\Hello\HelloAIAgents>dotnet run
runs fine
How can we reproduce it (as minimally and precisely as possible)?
autogen\dotnet\samples\Hello\HelloAIAgents>dotnet run
The issue is a typo in dotnet/samples/Hello/HelloAIAgents/Program.cs.
Fix:
-builder.Configuration["ConectionStrings:HelloAIAgents"] = Environment.GetEnvironmentVariable("AZURE_OPENAI_CONNECTION_STRING");
+builder.Configuration["ConnectionStrings:HelloAIAgents"] = Environment.GetEnvironmentVariable("AZURE_OPENAI_CONNECTION_STRING");
AutoGen version
Commit b375d4b
Which package was this bug in
Core
Model used
gpt-4o
Python version
No response
Operating system
WSL
Any additional info you think would be helpful for fixing this bug
No response
The text was updated successfully, but these errors were encountered: