AI-Studio/app/MindWork AI Studio/Provider/OpenAI/ChatCompletionChoice.cs
Peer Schütt ead156ac4d Set parallel_tool_calls to false in chat completions, because AI Studio calls all tools sequentially at the moment.
Also fixed a bug that resulted in an error when using tools with Mistral API
2026-07-23 17:01:46 +02:00

14 lines
369 B
C#

namespace AIStudio.Provider.OpenAI;
/// <summary>
/// Data model for a choice made by the AI.
/// </summary>
/// <param name="Index">The index of the choice.</param>
/// <param name="Delta">The delta text of the choice.</param>
public record ChatCompletionChoice(int Index, ChatCompletionDelta Delta)
{
public ChatCompletionChoice() : this(0, new())
{
}
}