2025-06-30 18:56:48 +02:00
|
|
|
using System.Text.Json.Serialization;
|
|
|
|
|
|
|
|
|
|
namespace AIStudio.Tools;
|
|
|
|
|
|
|
|
|
|
public sealed class ContentStreamSseEvent
|
|
|
|
|
{
|
|
|
|
|
[JsonPropertyName("content")]
|
2026-11-03 07:59:30 +01:00
|
|
|
public string? Content { get; set; }
|
2025-06-30 18:56:48 +02:00
|
|
|
|
|
|
|
|
[JsonPropertyName("stream_id")]
|
2026-11-03 07:59:30 +01:00
|
|
|
public string? StreamId { get; set; }
|
2025-06-30 18:56:48 +02:00
|
|
|
|
|
|
|
|
[JsonPropertyName("metadata")]
|
2026-11-03 07:59:30 +01:00
|
|
|
public ContentStreamSseMetadata? Metadata { get; set; }
|
2026-09-09 18:43:37 +02:00
|
|
|
|
|
|
|
|
[JsonPropertyName("token_count")]
|
2026-11-03 07:59:30 +01:00
|
|
|
public int? TokenCount { get; set; }
|
2025-06-30 18:56:48 +02:00
|
|
|
}
|