mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-04 17:27:21 +00:00
Made the JSON types of the runtime calls settable instead of init-only
This commit is contained in:
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; }
|
||||
}
|
||||
Reference in new issue
Block a user