.NET Workflows - Expose SendMessage override to all platforms (#1741)

* For real

* Fine-tune

* One more miss
This commit is contained in:
Chris
2025-10-28 05:29:01 -07:00
committed by GitHub
Unverified
parent 742203fb12
commit b70030daec
4 changed files with 75 additions and 70 deletions
@@ -76,7 +76,7 @@ internal sealed class QuestionExecutor(Question model, WorkflowAgentProvider age
{
int count = await this._promptCount.ReadAsync(context).ConfigureAwait(false);
AnswerRequest inputRequest = new(this.FormatPrompt(this.Model.Prompt));
await context.SendMessageAsync(inputRequest, targetId: null, cancellationToken).ConfigureAwait(false);
await context.SendMessageAsync(inputRequest, cancellationToken).ConfigureAwait(false);
await this._promptCount.WriteAsync(context, count + 1).ConfigureAwait(false);
}