V1 / 8f6c47b125e8
ChatChunk.cs
Lilith/Core/Chat/ChatChunk.cs
Changed in this versionCS
using System.Text.Json.Serialization;
namespace Lilith.Core.Chat;
public record ChatChunk(
[property: JsonPropertyName("message")] ChatMessage? Message,
[property: JsonPropertyName("done")] bool Done,
[property: JsonPropertyName("prompt_eval_count")] int? PromptTokens,
[property: JsonPropertyName("eval_count")] int? CompletionTokens);