V3 / 536edbbdbb6e
ChatChunk.cs
Lilith/Core/Chat/ChatChunk.cs
Unchanged from the preceding 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);