mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-08-12 12:32:10 +00:00
17 lines
447 B
C#
17 lines
447 B
C#
using System.Text.Json;
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace AIStudio.Provider.OpenAI;
|
|
|
|
public sealed record ChatCompletionToolCall
|
|
{
|
|
public string? Id { get; init; }
|
|
|
|
public string? Type { get; init; } = "function";
|
|
|
|
public ChatCompletionToolFunction? Function { get; init; }
|
|
|
|
[JsonExtensionData]
|
|
public IDictionary<string, JsonElement> AdditionalMetadata { get; init; } = new Dictionary<string, JsonElement>();
|
|
}
|