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
+3 -3
View File
@@ -8,17 +8,17 @@ public class ToolUseContent : Content
/// <summary>
/// Gets the ID of the tool use.
/// </summary>
public string Id { get; set; } = string.Empty;
public string Id { get; init; } = string.Empty;
/// <summary>
/// Gets the name of the tool.
/// </summary>
public string Name { get; set; } = string.Empty;
public string Name { get; init; } = string.Empty;
/// <summary>
/// Gets the input of the tool.
/// </summary>
public Dictionary<string, object?> Input { get; set; } = [];
public Dictionary<string, object?> Input { get; init; } = [];
/// <summary>
/// Initializes a new instance of the <see cref="ToolUseContent"/> class.