mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
fix failing CheckpointWithHumanInTheLoop sample (#1034)
This commit is contained in:
committed by
GitHub
Unverified
parent
f19ebf5b1b
commit
2680edff65
+2
-2
@@ -13,7 +13,7 @@ internal static class WorkflowHelper
|
||||
/// Get a workflow that plays a number guessing game with human-in-the-loop interaction.
|
||||
/// An input port allows the external world to provide inputs to the workflow upon requests.
|
||||
/// </summary>
|
||||
internal static ValueTask<Workflow<NumberSignal>> GetWorkflowAsync()
|
||||
internal static ValueTask<Workflow<SignalWithNumber>> GetWorkflowAsync()
|
||||
{
|
||||
// Create the executors
|
||||
InputPort numberInputPort = InputPort.Create<SignalWithNumber, int>("GuessNumber");
|
||||
@@ -24,7 +24,7 @@ internal static class WorkflowHelper
|
||||
.AddEdge(numberInputPort, judgeExecutor)
|
||||
.AddEdge(judgeExecutor, numberInputPort)
|
||||
.WithOutputFrom(judgeExecutor)
|
||||
.BuildAsync<NumberSignal>();
|
||||
.BuildAsync<SignalWithNumber>();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user