-
Notifications
You must be signed in to change notification settings - Fork 871
Labels
.NETagent memoryRelated to agentic memoryRelated to agentic memoryv1.0Features being tracked for the version 1.0 GAFeatures being tracked for the version 1.0 GA
Description
Maybe I am mistaken and there is something that I am missing, but currently it appears when using an AIContextProvider, the message order is different when sending it to the chat client vs when sending it to the message store.
Let's say, we have two messages in the message store already:
Message Store:
- Message A
- Message B
Then we invoke the agent another time with Message C.
Let's assume the ContextProvider injects Message X.
The following messages are sent to the chat client (see PrepareThreadAndMessagesAsync method):
- Message A
- Message B
- Message X
- Message C
The chat client returns Message D.
However, the messages are then stored in the following order in the message store (see invokation of NotifyMessageStoreOfNewMessagesAsync
- Message C
- Message X
- Message D
Copilot
Metadata
Metadata
Labels
.NETagent memoryRelated to agentic memoryRelated to agentic memoryv1.0Features being tracked for the version 1.0 GAFeatures being tracked for the version 1.0 GA
Type
Projects
Status
In Progress