openai/openai-dotnet

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
mailinhphan/clientOptions

Branches

Tags

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

Clone

HTTPS

Download ZIP

OpenAI/src/Custom/Chat/Streaming/InternalChatCompletionMessageToolCallChunkFunction.cs

13lines · modecode

1using Microsoft.TypeSpec.Generator.Customizations;
2using System;
3
4namespace OpenAI.Chat;
5
6// CUSTOM: Renamed.
7[CodeGenType("ChatCompletionMessageToolCallChunkFunction")]
8[CodeGenSerialization(nameof(Arguments), SerializationValueHook = nameof(SerializeArgumentsValue), DeserializationValueHook = nameof(DeserializeArgumentsValue))]
9internal partial class InternalChatCompletionMessageToolCallChunkFunction
10{
11 // CUSTOM: Changed type from string to BinaryData.
12 public BinaryData Arguments { get; }
13}