-
Notifications
You must be signed in to change notification settings - Fork 341
Closed
Labels
bugCategory: Something isn't working and appears to be a defect in the client library.Category: Something isn't working and appears to be a defect in the client library.
Description
Service
OpenAI
Describe the bug
In the file src/Custom/Chat/ChatMessageContentPart.cs, there is a spelling error in a comment at line 156.
The comment states: “Implicitly intantiates a new from a . As such,”
where “intantiates” should be corrected to "instantiates".
Steps to reproduce
- Open the file
src/Custom/Chat/ChatMessageContentPart.cs. - Locate the comment at line 156.
Code snippets
/// <summary>
/// Implicitly intantiates a new <see cref="ChatMessageContentPart"/> from a <see cref="string"/>. As such,
/// using a <see cref="string"/> in place of a <see cref="ChatMessageContentPart"/> is equivalent to calling the
/// <see cref="CreateTextPart(string)"/> method.
/// </summary>
/// <param name="text"> The text encapsulated by this <see cref="ChatMessageContentPart"/>. </param>
public static implicit operator ChatMessageContentPart(string text) => CreateTextPart(text);OS
None
.NET version
.NET 8
Library version
2.0.0
Metadata
Metadata
Assignees
Labels
bugCategory: Something isn't working and appears to be a defect in the client library.Category: Something isn't working and appears to be a defect in the client library.