From cc5c908b66c0256d800ab66a72a36ace45b099a2 Mon Sep 17 00:00:00 2001 From: Chris Rickman Date: Mon, 8 Dec 2025 11:59:51 -0800 Subject: [PATCH] Updated --- dotnet/agent-framework-dotnet.slnx | 12 ++++++------ .../CustomAgentExecutors/CustomAgentExecutors.csproj | 1 - .../WorkflowAsAnAgent/WorkflowAsAnAgent.csproj | 1 - .../Concurrent/Concurrent/Concurrent.csproj | 3 +-- .../01_EdgeCondition/01_EdgeCondition.csproj | 1 - .../02_SwitchCase/02_SwitchCase.csproj | 1 - .../03_MultiSelection/03_MultiSelection.csproj | 1 - .../Workflows/Declarative/ExecuteWorkflow/Program.cs | 2 -- .../WorkflowAsAnAgentObservability.csproj | 1 - .../03_AgentsInWorkflows/03_AgentsInWorkflows.csproj | 1 - .../04_AgentWorkflowPatterns.csproj | 1 - .../05_MultiModelService/05_MultiModelService.csproj | 1 - .../06_SubWorkflows/06_SubWorkflows.csproj | 1 - .../07_MixedWorkflowAgentsAndExecutors.csproj | 1 - .../08_WriterCriticWorkflow.csproj | 1 - .../src/Shared/Workflows/Execution/WorkflowRunner.cs | 5 +++++ workflow-samples/DeepResearch.yaml | 2 +- 17 files changed, 13 insertions(+), 23 deletions(-) diff --git a/dotnet/agent-framework-dotnet.slnx b/dotnet/agent-framework-dotnet.slnx index c9a4a0a0ab..ec197f58c0 100644 --- a/dotnet/agent-framework-dotnet.slnx +++ b/dotnet/agent-framework-dotnet.slnx @@ -88,24 +88,24 @@ - + - + - + - + - + @@ -198,7 +198,7 @@ - + diff --git a/dotnet/samples/GettingStarted/Workflows/Agents/CustomAgentExecutors/CustomAgentExecutors.csproj b/dotnet/samples/GettingStarted/Workflows/Agents/CustomAgentExecutors/CustomAgentExecutors.csproj index 881f20e1af..d0c0656ade 100644 --- a/dotnet/samples/GettingStarted/Workflows/Agents/CustomAgentExecutors/CustomAgentExecutors.csproj +++ b/dotnet/samples/GettingStarted/Workflows/Agents/CustomAgentExecutors/CustomAgentExecutors.csproj @@ -16,7 +16,6 @@ - diff --git a/dotnet/samples/GettingStarted/Workflows/Agents/WorkflowAsAnAgent/WorkflowAsAnAgent.csproj b/dotnet/samples/GettingStarted/Workflows/Agents/WorkflowAsAnAgent/WorkflowAsAnAgent.csproj index 881f20e1af..d0c0656ade 100644 --- a/dotnet/samples/GettingStarted/Workflows/Agents/WorkflowAsAnAgent/WorkflowAsAnAgent.csproj +++ b/dotnet/samples/GettingStarted/Workflows/Agents/WorkflowAsAnAgent/WorkflowAsAnAgent.csproj @@ -16,7 +16,6 @@ - diff --git a/dotnet/samples/GettingStarted/Workflows/Concurrent/Concurrent/Concurrent.csproj b/dotnet/samples/GettingStarted/Workflows/Concurrent/Concurrent/Concurrent.csproj index 28a01e4540..e756a0bf1d 100644 --- a/dotnet/samples/GettingStarted/Workflows/Concurrent/Concurrent/Concurrent.csproj +++ b/dotnet/samples/GettingStarted/Workflows/Concurrent/Concurrent/Concurrent.csproj @@ -1,4 +1,4 @@ - + Exe @@ -15,7 +15,6 @@ - diff --git a/dotnet/samples/GettingStarted/Workflows/ConditionalEdges/01_EdgeCondition/01_EdgeCondition.csproj b/dotnet/samples/GettingStarted/Workflows/ConditionalEdges/01_EdgeCondition/01_EdgeCondition.csproj index 495f645f83..422c1ca55f 100644 --- a/dotnet/samples/GettingStarted/Workflows/ConditionalEdges/01_EdgeCondition/01_EdgeCondition.csproj +++ b/dotnet/samples/GettingStarted/Workflows/ConditionalEdges/01_EdgeCondition/01_EdgeCondition.csproj @@ -16,7 +16,6 @@ - diff --git a/dotnet/samples/GettingStarted/Workflows/ConditionalEdges/02_SwitchCase/02_SwitchCase.csproj b/dotnet/samples/GettingStarted/Workflows/ConditionalEdges/02_SwitchCase/02_SwitchCase.csproj index 495f645f83..422c1ca55f 100644 --- a/dotnet/samples/GettingStarted/Workflows/ConditionalEdges/02_SwitchCase/02_SwitchCase.csproj +++ b/dotnet/samples/GettingStarted/Workflows/ConditionalEdges/02_SwitchCase/02_SwitchCase.csproj @@ -16,7 +16,6 @@ - diff --git a/dotnet/samples/GettingStarted/Workflows/ConditionalEdges/03_MultiSelection/03_MultiSelection.csproj b/dotnet/samples/GettingStarted/Workflows/ConditionalEdges/03_MultiSelection/03_MultiSelection.csproj index 495f645f83..422c1ca55f 100644 --- a/dotnet/samples/GettingStarted/Workflows/ConditionalEdges/03_MultiSelection/03_MultiSelection.csproj +++ b/dotnet/samples/GettingStarted/Workflows/ConditionalEdges/03_MultiSelection/03_MultiSelection.csproj @@ -16,7 +16,6 @@ - diff --git a/dotnet/samples/GettingStarted/Workflows/Declarative/ExecuteWorkflow/Program.cs b/dotnet/samples/GettingStarted/Workflows/Declarative/ExecuteWorkflow/Program.cs index 1a761be436..d1f0980ec7 100644 --- a/dotnet/samples/GettingStarted/Workflows/Declarative/ExecuteWorkflow/Program.cs +++ b/dotnet/samples/GettingStarted/Workflows/Declarative/ExecuteWorkflow/Program.cs @@ -63,8 +63,6 @@ private async Task ExecuteAsync() // This also includes the ability to checkpoint workflow state and how to // resume execution. await this.Runner.ExecuteAsync(this.CreateWorkflow, input); - - Notify("\nWORKFLOW: Done!\n"); } /// diff --git a/dotnet/samples/GettingStarted/Workflows/Observability/WorkflowAsAnAgent/WorkflowAsAnAgentObservability.csproj b/dotnet/samples/GettingStarted/Workflows/Observability/WorkflowAsAnAgent/WorkflowAsAnAgentObservability.csproj index 3e27c6b303..400142fc4b 100644 --- a/dotnet/samples/GettingStarted/Workflows/Observability/WorkflowAsAnAgent/WorkflowAsAnAgentObservability.csproj +++ b/dotnet/samples/GettingStarted/Workflows/Observability/WorkflowAsAnAgent/WorkflowAsAnAgentObservability.csproj @@ -23,7 +23,6 @@ - diff --git a/dotnet/samples/GettingStarted/Workflows/_Foundational/03_AgentsInWorkflows/03_AgentsInWorkflows.csproj b/dotnet/samples/GettingStarted/Workflows/_Foundational/03_AgentsInWorkflows/03_AgentsInWorkflows.csproj index 881f20e1af..d0c0656ade 100644 --- a/dotnet/samples/GettingStarted/Workflows/_Foundational/03_AgentsInWorkflows/03_AgentsInWorkflows.csproj +++ b/dotnet/samples/GettingStarted/Workflows/_Foundational/03_AgentsInWorkflows/03_AgentsInWorkflows.csproj @@ -16,7 +16,6 @@ - diff --git a/dotnet/samples/GettingStarted/Workflows/_Foundational/04_AgentWorkflowPatterns/04_AgentWorkflowPatterns.csproj b/dotnet/samples/GettingStarted/Workflows/_Foundational/04_AgentWorkflowPatterns/04_AgentWorkflowPatterns.csproj index 881f20e1af..d0c0656ade 100644 --- a/dotnet/samples/GettingStarted/Workflows/_Foundational/04_AgentWorkflowPatterns/04_AgentWorkflowPatterns.csproj +++ b/dotnet/samples/GettingStarted/Workflows/_Foundational/04_AgentWorkflowPatterns/04_AgentWorkflowPatterns.csproj @@ -16,7 +16,6 @@ - diff --git a/dotnet/samples/GettingStarted/Workflows/_Foundational/05_MultiModelService/05_MultiModelService.csproj b/dotnet/samples/GettingStarted/Workflows/_Foundational/05_MultiModelService/05_MultiModelService.csproj index 65d85d21af..bc5cc0d67d 100644 --- a/dotnet/samples/GettingStarted/Workflows/_Foundational/05_MultiModelService/05_MultiModelService.csproj +++ b/dotnet/samples/GettingStarted/Workflows/_Foundational/05_MultiModelService/05_MultiModelService.csproj @@ -16,7 +16,6 @@ - diff --git a/dotnet/samples/GettingStarted/Workflows/_Foundational/06_SubWorkflows/06_SubWorkflows.csproj b/dotnet/samples/GettingStarted/Workflows/_Foundational/06_SubWorkflows/06_SubWorkflows.csproj index e3913683e1..6c33744eee 100644 --- a/dotnet/samples/GettingStarted/Workflows/_Foundational/06_SubWorkflows/06_SubWorkflows.csproj +++ b/dotnet/samples/GettingStarted/Workflows/_Foundational/06_SubWorkflows/06_SubWorkflows.csproj @@ -10,7 +10,6 @@ - diff --git a/dotnet/samples/GettingStarted/Workflows/_Foundational/07_MixedWorkflowAgentsAndExecutors/07_MixedWorkflowAgentsAndExecutors.csproj b/dotnet/samples/GettingStarted/Workflows/_Foundational/07_MixedWorkflowAgentsAndExecutors/07_MixedWorkflowAgentsAndExecutors.csproj index 881f20e1af..d0c0656ade 100644 --- a/dotnet/samples/GettingStarted/Workflows/_Foundational/07_MixedWorkflowAgentsAndExecutors/07_MixedWorkflowAgentsAndExecutors.csproj +++ b/dotnet/samples/GettingStarted/Workflows/_Foundational/07_MixedWorkflowAgentsAndExecutors/07_MixedWorkflowAgentsAndExecutors.csproj @@ -16,7 +16,6 @@ - diff --git a/dotnet/samples/GettingStarted/Workflows/_Foundational/08_WriterCriticWorkflow/08_WriterCriticWorkflow.csproj b/dotnet/samples/GettingStarted/Workflows/_Foundational/08_WriterCriticWorkflow/08_WriterCriticWorkflow.csproj index e7a65f11a7..d7804cef4e 100644 --- a/dotnet/samples/GettingStarted/Workflows/_Foundational/08_WriterCriticWorkflow/08_WriterCriticWorkflow.csproj +++ b/dotnet/samples/GettingStarted/Workflows/_Foundational/08_WriterCriticWorkflow/08_WriterCriticWorkflow.csproj @@ -11,7 +11,6 @@ - diff --git a/dotnet/src/Shared/Workflows/Execution/WorkflowRunner.cs b/dotnet/src/Shared/Workflows/Execution/WorkflowRunner.cs index 75f451bf8e..d82bc800bb 100644 --- a/dotnet/src/Shared/Workflows/Execution/WorkflowRunner.cs +++ b/dotnet/src/Shared/Workflows/Execution/WorkflowRunner.cs @@ -174,6 +174,7 @@ public async Task ExecuteAsync(Func workflowProvider, string input) Console.WriteLine("\nACTIVITY:"); Console.ForegroundColor = ConsoleColor.Yellow; Console.WriteLine(activityEvent.Message.Trim()); + Console.ResetColor(); break; case AgentRunUpdateEvent streamEvent: @@ -189,6 +190,7 @@ public async Task ExecuteAsync(Func workflowProvider, string input) Console.Write($"\n{agentName.ToUpperInvariant()}:"); Console.ForegroundColor = ConsoleColor.DarkGray; Console.WriteLine($" [{messageId}]"); + Console.ResetColor(); } } @@ -204,6 +206,7 @@ public async Task ExecuteAsync(Func workflowProvider, string input) Console.Write($"Calling tool: {actionUpdate.FunctionName}"); Console.ForegroundColor = ConsoleColor.DarkGray; Console.WriteLine($" [{actionUpdate.CallId}]"); + Console.ResetColor(); break; case McpToolCallItem actionUpdate: @@ -211,6 +214,7 @@ public async Task ExecuteAsync(Func workflowProvider, string input) Console.Write($"Calling tool: {actionUpdate.ToolName}"); Console.ForegroundColor = ConsoleColor.DarkGray; Console.WriteLine($" [{actionUpdate.Id}]"); + Console.ResetColor(); break; } @@ -238,6 +242,7 @@ public async Task ExecuteAsync(Func workflowProvider, string input) { Console.ForegroundColor = ConsoleColor.DarkGray; Console.WriteLine($"[Tokens Total: {messageEvent.Response.Usage.TotalTokenCount}, Input: {messageEvent.Response.Usage.InputTokenCount}, Output: {messageEvent.Response.Usage.OutputTokenCount}]"); + Console.ResetColor(); } } finally diff --git a/workflow-samples/DeepResearch.yaml b/workflow-samples/DeepResearch.yaml index 4949680c56..4408ab94fb 100644 --- a/workflow-samples/DeepResearch.yaml +++ b/workflow-samples/DeepResearch.yaml @@ -93,7 +93,7 @@ trigger: conversationId: =Local.StatusConversationId agent: name: PlannerAgent - inputs: + input: arguments: team: =Local.TeamDescription output: