From 5091d510b50c0c74973eb5e519627b8ad0528df1 Mon Sep 17 00:00:00 2001 From: Kavin Date: Wed, 11 Dec 2024 13:25:06 -0800 Subject: [PATCH] fix warnings --- .../Microsoft.TeamsAI/AI/Models/SequenceBuilder.cs | 6 +++--- .../AI/Models/StreamingChatToolCallsBuilder.cs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dotnet/packages/Microsoft.TeamsAI/Microsoft.TeamsAI/AI/Models/SequenceBuilder.cs b/dotnet/packages/Microsoft.TeamsAI/Microsoft.TeamsAI/AI/Models/SequenceBuilder.cs index 17105b53a..979105d67 100644 --- a/dotnet/packages/Microsoft.TeamsAI/Microsoft.TeamsAI/AI/Models/SequenceBuilder.cs +++ b/dotnet/packages/Microsoft.TeamsAI/Microsoft.TeamsAI/AI/Models/SequenceBuilder.cs @@ -3,10 +3,10 @@ namespace Microsoft.Teams.AI.AI.Models { - public class SequenceBuilder + internal class SequenceBuilder { - private Segment _first; - private Segment _last; + private Segment? _first; + private Segment? _last; public void Append(ReadOnlyMemory data) { diff --git a/dotnet/packages/Microsoft.TeamsAI/Microsoft.TeamsAI/AI/Models/StreamingChatToolCallsBuilder.cs b/dotnet/packages/Microsoft.TeamsAI/Microsoft.TeamsAI/AI/Models/StreamingChatToolCallsBuilder.cs index a43b78527..78b1f23b7 100644 --- a/dotnet/packages/Microsoft.TeamsAI/Microsoft.TeamsAI/AI/Models/StreamingChatToolCallsBuilder.cs +++ b/dotnet/packages/Microsoft.TeamsAI/Microsoft.TeamsAI/AI/Models/StreamingChatToolCallsBuilder.cs @@ -3,7 +3,7 @@ namespace Microsoft.Teams.AI.AI.Models { - public class StreamingChatToolCallsBuilder + internal class StreamingChatToolCallsBuilder { private readonly Dictionary _indexToToolCallId = new(); private readonly Dictionary _indexToFunctionName = new();