Skip to content

.NET Agents - Switch all instance of "SendMessage" to "PublishMessage" #12457

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 12, 2025

Conversation

crickman
Copy link
Contributor

Motivation and Context

Eliminates usage of SendMessageAsync

Description

While SendMessageAsync targets a specific agent, it will block until the target result is provided. PublishMessageAsync allows for execution to yield back to the caller as soon as the message is sent.

Contribution Checklist

@crickman crickman self-assigned this Jun 11, 2025
@crickman crickman requested a review from a team as a code owner June 11, 2025 22:12
@crickman crickman added .NET Issue or Pull requests regarding .NET code agents labels Jun 11, 2025
@github-actions github-actions bot changed the title .NET Agents - Switch all instance of "SendMessage" to "PublishMessage" .Net Agents - Switch all instance of "SendMessage" to "PublishMessage" Jun 11, 2025
@crickman crickman changed the title .Net Agents - Switch all instance of "SendMessage" to "PublishMessage" .NET Agents - Switch all instance of "SendMessage" to "PublishMessage" Jun 11, 2025
@crickman crickman requested a review from TaoChenOSU June 11, 2025 22:14
@crickman crickman added this pull request to the merge queue Jun 12, 2025
Merged via the queue into main with commit ef912a9 Jun 12, 2025
23 checks passed
@crickman crickman deleted the fix-agent-orchestration-messaging branch June 12, 2025 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
agents .NET Issue or Pull requests regarding .NET code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants