mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-11-23 10:50:21 +00:00
20 lines
562 B
C#
20 lines
562 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace AIStudio.Provider.Fireworks;
|
|
|
|
/// <summary>
|
|
/// The Fireworks chat request model.
|
|
/// </summary>
|
|
/// <param name="Model">Which model to use for chat completion.</param>
|
|
/// <param name="Messages">The chat messages.</param>
|
|
/// <param name="Stream">Whether to stream the chat completion.</param>
|
|
public readonly record struct ChatRequest(
|
|
string Model,
|
|
IList<Message> Messages,
|
|
bool Stream
|
|
)
|
|
{
|
|
|
|
[JsonExtensionData]
|
|
public Dictionary<string, object?> AdditionalApiParameters { get; init; }
|
|
} |