openai/openai-dotnet
Publicmirrored from https://github.com/openai/openai-dotnetAvailable
OpenAI/src/Custom/Chat/Streaming/InternalChatCompletionMessageToolCallChunkFunction.cs
13lines · modecode
| 1 | using Microsoft.TypeSpec.Generator.Customizations; |
| 2 | using System; |
| 3 | |
| 4 | namespace OpenAI.Chat; |
| 5 | |
| 6 | // CUSTOM: Renamed. |
| 7 | [CodeGenType("ChatCompletionMessageToolCallChunkFunction")] |
| 8 | [CodeGenSerialization(nameof(Arguments), SerializationValueHook = nameof(SerializeArgumentsValue), DeserializationValueHook = nameof(DeserializeArgumentsValue))] |
| 9 | internal partial class InternalChatCompletionMessageToolCallChunkFunction |
| 10 | { |
| 11 | // CUSTOM: Changed type from string to BinaryData. |
| 12 | public BinaryData Arguments { get; } |
| 13 | } |