Skip to content

Commit

Permalink
Returning read only list
Browse files Browse the repository at this point in the history
Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
  • Loading branch information
WhitWaldo committed Nov 1, 2024
1 parent 13c7b00 commit e39d924
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ namespace Dapr.AI.Conversation.Models.Response;
/// The response for a conversation.
/// </summary>
/// <param name="Outputs">The collection of conversation results.</param>
public record DaprConversationResponse(List<DaprConversationResult> Outputs)
public record DaprConversationResponse(IReadOnlyList<DaprConversationResult> Outputs)
{
/// <summary>
/// The identifier of an existing or newly created conversation.
Expand Down

0 comments on commit e39d924

Please sign in to comment.