From e39d924dd8f3673595d2d4ca8bb65f4837decda3 Mon Sep 17 00:00:00 2001 From: Whit Waldo Date: Fri, 1 Nov 2024 08:47:49 -0500 Subject: [PATCH] Returning read only list Signed-off-by: Whit Waldo --- .../Conversation/Models/Response/DaprConversationResponse.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Dapr.AI/Conversation/Models/Response/DaprConversationResponse.cs b/src/Dapr.AI/Conversation/Models/Response/DaprConversationResponse.cs index 92ae9478..0668446e 100644 --- a/src/Dapr.AI/Conversation/Models/Response/DaprConversationResponse.cs +++ b/src/Dapr.AI/Conversation/Models/Response/DaprConversationResponse.cs @@ -17,7 +17,7 @@ namespace Dapr.AI.Conversation.Models.Response; /// The response for a conversation. /// /// The collection of conversation results. -public record DaprConversationResponse(List Outputs) +public record DaprConversationResponse(IReadOnlyList Outputs) { /// /// The identifier of an existing or newly created conversation.