mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-04 20:07:20 +00:00
Replaced the anonymous request shapes of the providers with records
This commit is contained in:
15 files changed
+111
-32
No files matched your search
@@ -0,0 +1,11 @@
|
||||
namespace AIStudio.Provider.OpenAI;
|
||||
|
||||
/// <summary>
|
||||
/// The function tool definition shape expected by Chat Completions compatible APIs, with the function nested.
|
||||
/// </summary>
|
||||
public sealed record ChatCompletionFunctionTool
|
||||
{
|
||||
public string Type { get; init; } = "function";
|
||||
|
||||
public ChatCompletionFunctionDeclaration Function { get; init; } = new();
|
||||
}
|
||||
Reference in new issue
Block a user