openai/openai-dotnet

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
copilot/move-addresponsesclient-methods

Branches

Tags

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

Clone

HTTPS

Download ZIP

OpenAI/src/Custom/Chat/Internal/InternalChatCompletionMessageToolCallFunction.cs

12lines · modecode

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