chore: run dotnet format

This commit is contained in:
Stevan Freeborn
2025-01-15 10:30:02 -06:00
parent ee9dbcf647
commit fc2932f3c5
8 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -98,4 +98,4 @@ public interface IAnthropicApiClient
/// <param name="modelId">The ID of the model to get.</param>
/// <returns>A task that represents the asynchronous operation. The task result contains the response as an <see cref="AnthropicResult{T}"/> where T is <see cref="AnthropicModel"/>.</returns>
Task<AnthropicResult<AnthropicModel>> GetModelAsync(string modelId);
}
}
@@ -11,4 +11,4 @@ public class CanceledMessageBatchResult : MessageBatchResult
public CanceledMessageBatchResult() : base(MessageBatchResultType.Canceled)
{
}
}
}
@@ -16,4 +16,4 @@ public class ErroredMessageBatchResult : MessageBatchResult
public ErroredMessageBatchResult() : base(MessageBatchResultType.Errored)
{
}
}
}
@@ -17,4 +17,4 @@ public class MessageBatchResultItem
/// Gets the result of the message batch result item.
/// </summary>
public MessageBatchResult Result { get; init; } = default!;
}
}
@@ -24,4 +24,4 @@ public static class MessageBatchResultType
/// Represents an expired message batch result.
/// </summary>
public const string Expired = "expired";
}
}
@@ -9,12 +9,12 @@ public static class MessageBatchStatus
/// The status of a message batch that is being canceled.
/// </summary>
public const string Canceling = "canceling";
/// <summary>
/// The status of a message batch that is in progress.
/// </summary>
public const string InProgress = "in_progress";
/// <summary>
/// The status of a message batch that has ended.
/// </summary>
@@ -17,4 +17,4 @@ public class SucceededMessageBatchResult : MessageBatchResult
public SucceededMessageBatchResult() : base(MessageBatchResultType.Succeeded)
{
}
}
}
@@ -7,13 +7,13 @@ public class MessageBatchStatusTests
{
MessageBatchStatus.Canceling.Should().Be("canceling");
}
[Fact]
public void InProgress_WhenCalled_ItShouldReturnCancelingStatus()
{
MessageBatchStatus.InProgress.Should().Be("in_progress");
}
[Fact]
public void Ended_WhenCalled_ItShouldReturnCancelingStatus()
{