mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-08-11 18:32:12 +00:00
18 lines
452 B
C#
18 lines
452 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace AIStudio.Tools;
|
|
|
|
public sealed class ContentStreamSseEvent
|
|
{
|
|
[JsonPropertyName("content")]
|
|
public string? Content { get; init; }
|
|
|
|
[JsonPropertyName("stream_id")]
|
|
public string? StreamId { get; init; }
|
|
|
|
[JsonPropertyName("metadata")]
|
|
public ContentStreamSseMetadata? Metadata { get; init; }
|
|
|
|
[JsonPropertyName("token_count")]
|
|
public int? TokenCount { get; init; }
|
|
} |