Made the JSON types of the runtime calls settable instead of init-only

This commit is contained in:
Thorsten Sommer committed 2026-11-02 19:12:28 +01:00
1 parent bf22cf4a78
commit c97b0f0f76
18 files changed
+34 -34

No files matched your search

@@ -5,14 +5,14 @@ namespace AIStudio.Tools;
public sealed class ContentStreamSseEvent
{
[JsonPropertyName("content")]
public string? Content { get; init; }
public string? Content { get; set; }
[JsonPropertyName("stream_id")]
public string? StreamId { get; init; }
public string? StreamId { get; set; }
[JsonPropertyName("metadata")]
public ContentStreamSseMetadata? Metadata { get; init; }
public ContentStreamSseMetadata? Metadata { get; set; }
[JsonPropertyName("token_count")]
public int? TokenCount { get; init; }
public int? TokenCount { get; set; }
}