feat: yield events for streaming including custom message complete event

This commit is contained in:
Stevan Freeborn
2024-06-28 16:30:09 -05:00
parent a4784fd5db
commit 6ed99a6a23
12 changed files with 367 additions and 173 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ using System.Text.Json.Serialization;
namespace AnthropicClient.Models;
public record AnthropicEvent
public class AnthropicEvent
{
public string Type { get; init; } = string.Empty;
public EventData Data { get; init; } = default!;