openai/openai-dotnet

Public

mirrored from https://github.com/openai/openai-dotnetAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
OpenAI_2.1.0

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

src/Custom/Chat/Streaming/InternalChatCompletionMessageToolCallChunkFunction.cs

12lines · modepreview

using System;

namespace OpenAI.Chat;

// CUSTOM: Renamed.
[CodeGenModel("ChatCompletionMessageToolCallChunkFunction")]
[CodeGenSerialization(nameof(Arguments), SerializationValueHook = nameof(SerializeArgumentsValue), DeserializationValueHook = nameof(DeserializeArgumentsValue))]
internal partial class InternalChatCompletionMessageToolCallChunkFunction
{
    // CUSTOM: Changed type from string to BinaryData.
    public BinaryData Arguments { get; }
}