Compare commits

...

2 Commits

Author SHA1 Message Date
  Eric Zhu 6bd8b1bb8e
Merge branch 'main' into raimondasl/issue-5186 1 year ago
  Raimondas Lencevicius 0edce2335b Fixed typo fixing issue #5186 1 year ago
1 changed files with 1 additions and 1 deletions
Split View
  1. +1
    -1
      dotnet/samples/Hello/HelloAIAgents/Program.cs

+ 1
- 1
dotnet/samples/Hello/HelloAIAgents/Program.cs View File

@@ -16,7 +16,7 @@ if (Environment.GetEnvironmentVariable("AZURE_OPENAI_CONNECTION_STRING") == null
{
throw new InvalidOperationException("AZURE_OPENAI_CONNECTION_STRING not set, try something like AZURE_OPENAI_CONNECTION_STRING = \"Endpoint=https://TODO.openai.azure.com/;Key=TODO;Deployment=TODO\"");
}
builder.Configuration["ConectionStrings:HelloAIAgents"] = Environment.GetEnvironmentVariable("AZURE_OPENAI_CONNECTION_STRING");
builder.Configuration["ConnectionStrings:HelloAIAgents"] = Environment.GetEnvironmentVariable("AZURE_OPENAI_CONNECTION_STRING");
builder.AddChatCompletionService("HelloAIAgents");
var agentTypes = new AgentTypes(new Dictionary<string, Type>
{


Loading…
Cancel
Save