feat: add models for streaming messages

This commit is contained in:
Stevan Freeborn
2024-06-28 10:54:00 -05:00
parent 422719f509
commit a4784fd5db
27 changed files with 551 additions and 111 deletions
+2 -2
View File
@@ -11,11 +11,11 @@ public class ChatUsage
/// Gets the number of input tokens used.
/// </summary>
[JsonPropertyName("input_tokens")]
public int InputTokens { get; set; }
public int InputTokens { get; init; }
/// <summary>
/// Gets the number of output tokens used.
/// </summary>
[JsonPropertyName("output_tokens")]
public int OutputTokens { get; set; }
public int OutputTokens { get; init; }
}