-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Open
Labels
.NETIssue or Pull requests regarding .NET codeIssue or Pull requests regarding .NET codebugSomething isn't workingSomething isn't workingtriage
Description
Describe the bug
I'm using Semantic Kernel Agent 1.67.1 preview library to build agentic flow.
To Reproduce
Steps to reproduce the behavior:
- Library: Semantic Kernel Agent 1.67.1 preview
ChatCompletionAgent physicist = new ChatCompletionAgent
{
Name = "PhysicsExpert",
Instructions = "You are an expert in physics. You answer questions from a physics perspective.",
Kernel = kernelGpt4o,
LoggerFactory = loggerFactory
};
ChatCompletionAgent chemist = new ChatCompletionAgent
{
Name = "ChemistryExpert",
Instructions = "You are an expert in chemistry. You answer questions from a chemistry perspective.",
Kernel = kernelGpt4o,
LoggerFactory = loggerFactory
};
#pragma warning disable SKEXP0110
var physicistAiAgent = physicist.AsAIAgent();
ConcurrentOrchestration orchestration = new(physicist, chemist)
{
LoggerFactory = loggerFactory
};
InProcessRuntime runtime = new InProcessRuntime()
{
};
await runtime.StartAsync();
//var result = await orchestration.InvokeAsync($"Translate the phrase to Spanish: {srcText}", runtime);
var result = await orchestration.InvokeAsync("What is temperature?", runtime);
// Wait for both agents to complete execution
string[] output = await result.GetValueAsync(TimeSpan.FromSeconds(240));
// Ensure runtime completes all pending work
await runtime.RunUntilIdleAsync();
#pragma warning restore SKEXP0110
info: Microsoft.SemanticKernel.Agents.Orchestration.Concurrent.ConcurrentOrchestration[0]
REGISTER ACTOR ConcurrentOrchestration RESULTS: ConcurrentOrchestration_f0070b06fc794968b68c2471d118560c_Results
info: Microsoft.SemanticKernel.Agents.Orchestration.Concurrent.ConcurrentOrchestration[0]
REGISTER ACTOR ConcurrentOrchestration MEMBER https://github.com/microsoft/semantic-kernel/pull/1: ConcurrentOrchestration_f0070b06fc794968b68c2471d118560c_Agent_1
info: Microsoft.SemanticKernel.Agents.Orchestration.Concurrent.ConcurrentOrchestration[0]
REGISTER ACTOR ConcurrentOrchestration MEMBER https://github.com/microsoft/semantic-kernel/pull/2: ConcurrentOrchestration_f0070b06fc794968b68c2471d118560c_Agent_2
info: Microsoft.SemanticKernel.Agents.Orchestration.Concurrent.ConcurrentOrchestration[0]
INVOKE ConcurrentOrchestration: ConcurrentOrchestration_f0070b06fc794968b68c2471d118560c/default
info: Microsoft.SemanticKernel.Agents.Orchestration.AgentOrchestration.RequestActor[0]
INIT ConcurrentOrchestration: ConcurrentOrchestration_f0070b06fc794968b68c2471d118560c_Boot/default
info: Microsoft.SemanticKernel.Agents.Orchestration.AgentOrchestration.RequestActor[0]
START ConcurrentOrchestration: ConcurrentOrchestration_f0070b06fc794968b68c2471d118560c_Boot/default
fail: Microsoft.SemanticKernel.Agents.Orchestration.Concurrent.ConcurrentOrchestration[0]
TIMEOUT ConcurrentOrchestration: ConcurrentOrchestration_f0070b06fc794968b68c2471d118560c/default
Platform
- Language: C#
- Source: NuGet package version 1.67.1 preview
AI model: AzureOpenAI:GPT-4.1
IDE: Visual Studio
OS: Windows
Metadata
Metadata
Assignees
Labels
.NETIssue or Pull requests regarding .NET codeIssue or Pull requests regarding .NET codebugSomething isn't workingSomething isn't workingtriage