mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
Implement IReadOnlyList on InMemoryChatMessageStore (#3205)
This commit is contained in:
committed by
GitHub
Unverified
parent
655a59a75f
commit
04657c207a
@@ -29,7 +29,7 @@ namespace Microsoft.Agents.AI;
|
||||
/// </remarks>
|
||||
[DebuggerDisplay("Count = {Count}")]
|
||||
[DebuggerTypeProxy(typeof(DebugView))]
|
||||
public sealed class InMemoryChatMessageStore : ChatMessageStore, IList<ChatMessage>
|
||||
public sealed class InMemoryChatMessageStore : ChatMessageStore, IList<ChatMessage>, IReadOnlyList<ChatMessage>
|
||||
{
|
||||
private List<ChatMessage> _messages;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user