Skip to content

Spelling Error in Comment on Line 156 of ChatMessageContentPart.cs #265

Closed
@SiqiLu

Description

@SiqiLu

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

  1. Open the file src/Custom/Chat/ChatMessageContentPart.cs.
  2. 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.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions