Skip to content
Discussion options

You must be logged in to vote

IChatReducer and friends
https://learn.microsoft.com/en-us/dotnet/api/microsoft.extensions.ai.ichatreducer?view=net-9.0-pp
https://learn.microsoft.com/en-us/dotnet/api/microsoft.extensions.ai.reducingchatclientbuilderextensions.usechatreducer?view=net-9.0-pp

The latter middleware applies at the IChatClient level and so can be plugged into a ChatClientAgent. We may want to introduce equivalent middleware using the same interface at the AIAgent level.

cc: @rogerbarreto, @crickman, @MackinnonBuck, @westey-m

Replies: 1 comment 11 replies

Comment options

You must be logged in to vote
11 replies
@westey-m
Comment options

westey-m Oct 6, 2025
Collaborator

@stephentoub
Comment options

@westey-m
Comment options

westey-m Oct 6, 2025
Collaborator

@stephentoub
Comment options

@westey-m
Comment options

westey-m Oct 6, 2025
Collaborator

Answer selected by jooooel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants