We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e87e9bd commit 10c925aCopy full SHA for 10c925a
src/Custom/Chat/OpenAIChatModelFactory.cs
@@ -69,6 +69,7 @@ public static ChatCompletion ChatCompletion(
69
contentTokenLogProbabilities ??= new List<ChatTokenLogProbabilityDetails>();
70
refusalTokenLogProbabilities ??= new List<ChatTokenLogProbabilityDetails>();
71
messageAnnotations ??= new List<ChatMessageAnnotation>();
72
+ contentParts ??= new List<ChatMessageContentPart>();
73
74
InternalChatCompletionResponseMessage message = new(
75
content: content,
0 commit comments