mirror of
https://github.com/microsoft/autogen.git
synced 2025-11-10 23:05:02 +00:00
Co-authored-by: Raimondas Lencevicius <rlencevicius@microsoft.com>
This commit is contained in:
parent
146674399b
commit
06d5ac332b
@ -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\"");
|
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");
|
builder.AddChatCompletionService("HelloAIAgents");
|
||||||
var agentTypes = new AgentTypes(new Dictionary<string, Type>
|
var agentTypes = new AgentTypes(new Dictionary<string, Type>
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user