.NET: Workflow getting started samples in .Net (First batch) (#554)

* First batch of workflow getting started samples in .Net

* Add Switch Case Edge group

* Add multi selection group

* Add comments

* Add readme

* Fix formatting

* clean project file

* WIP: Revise sample structures

* Update readme

* Update readme

* Fix file encoding

* Update sample format

* Address comments

* Fix formatting

* Remove unwanted file

* Fix unit tests

* Remove unwanted file
This commit is contained in:
Tao Chen
2025-09-05 19:10:00 +00:00
committed by GitHub
parent e1fda51d6a
commit cd0587c5f6
29 changed files with 1952 additions and 5 deletions
@@ -99,6 +99,12 @@ internal class AIAgentHostExecutor : Executor
await foreach (AgentRunResponseUpdate update in agentStream.ConfigureAwait(false))
{
if (string.IsNullOrEmpty(update.MessageId))
{
// Ignore updates that don't have a message ID.
continue;
}
if (emitEvents)
{
await context.AddEventAsync(new AgentRunUpdateEvent(this.Id, update)).ConfigureAwait(false);