You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
.NET: [Feature]: Add ability to define a custom ChatHistoryProvider for Workflow as Agent #6327
changed the title [-][Feature]: Add ability to define a custom ChatHistoryProvider for Workflow as Agent[/-][+].NET: [Feature]: Add ability to define a custom ChatHistoryProvider for Workflow as Agent[/+]on Jun 4, 2026
To provide some additional context, this request stems from the need to customize how Chat History is managed when a workflow is exposed as an Agent. Since we are effectively dealing with an Agent, it would be useful to be able to configure the same properties that are typically available when using an InMemoryChatHistoryProvider in a "classic" Agent, in order to control how history messages are handled. For example:
I'm having the same issue. I'm trying to retrieve the Chat History from a WorkflowSession. But since WorkflowSession and WorkflowChatHistoryProvider are both internal I have no clean way to access it.
I finally found some time to put together a PR: #8840.
I believe this new feature could be useful in a number of scenarios. I already have several customers with use cases that would benefit from this kind of approach, so I hope the proposal can be considered.
Activity
[-][Feature]: Add ability to define a custom ChatHistoryProvider for Workflow as Agent[/-][+].NET: [Feature]: Add ability to define a custom ChatHistoryProvider for Workflow as Agent[/+]marcominerva commentedon Jun 25, 2026
To provide some additional context, this request stems from the need to customize how Chat History is managed when a workflow is exposed as an Agent. Since we are effectively dealing with an Agent, it would be useful to be able to configure the same properties that are typically available when using an
InMemoryChatHistoryProviderin a "classic" Agent, in order to control how history messages are handled. For example:VolzM commentedon Jul 6, 2026
I'm having the same issue. I'm trying to retrieve the Chat History from a WorkflowSession. But since WorkflowSession and WorkflowChatHistoryProvider are both internal I have no clean way to access it.
marcominerva commentedon Sep 29, 2026
I finally found some time to put together a PR: #8840.
I believe this new feature could be useful in a number of scenarios. I already have several customers with use cases that would benefit from this kind of approach, so I hope the proposal can be considered.