Skip to content

Commit 10c925a

Browse files
committed
fix
1 parent e87e9bd commit 10c925a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Custom/Chat/OpenAIChatModelFactory.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ public static ChatCompletion ChatCompletion(
6969
contentTokenLogProbabilities ??= new List<ChatTokenLogProbabilityDetails>();
7070
refusalTokenLogProbabilities ??= new List<ChatTokenLogProbabilityDetails>();
7171
messageAnnotations ??= new List<ChatMessageAnnotation>();
72+
contentParts ??= new List<ChatMessageContentPart>();
7273

7374
InternalChatCompletionResponseMessage message = new(
7475
content: content,

0 commit comments

Comments
 (0)