tests: add missing tests for streaming chat message

This commit is contained in:
Stevan Freeborn
2024-06-29 22:07:49 -05:00
parent 77ceb49c77
commit 5edc0b5fff
16 changed files with 1183 additions and 7 deletions
-2
View File
@@ -1,5 +1,3 @@
using System.Text.Json.Serialization;
namespace AnthropicClient.Models;
public abstract class EventData
@@ -1,11 +1,9 @@
using System.Text.Json.Serialization;
namespace AnthropicClient.Models;
public class MessageCompleteEventData : EventData
{
public AnthropicHeaders Headers { get; init; } = new();
public ChatResponse Message { get; init; } = new();
public AnthropicHeaders Headers { get; init; }
public ChatResponse Message { get; init; }
public MessageCompleteEventData(ChatResponse message, AnthropicHeaders headers) : base(EventType.MessageComplete)
{