mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-09-13 19:53:37 +00:00
Co-authored-by: krut_ni <nils.kruthoff@dlr.de> Co-authored-by: Thorsten Sommer <SommerEngineering@users.noreply.github.com>
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>();
|
|
}
|