chore: run dotnet format
This commit is contained in:
@@ -3,8 +3,8 @@ using System.Text;
|
||||
using System.Text.Json;
|
||||
|
||||
using AnthropicClient.Json;
|
||||
using AnthropicClient.Utils;
|
||||
using AnthropicClient.Models;
|
||||
using AnthropicClient.Utils;
|
||||
|
||||
namespace AnthropicClient;
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace AnthropicClient.Models;
|
||||
/// </summary>
|
||||
public abstract class MessageRequest
|
||||
{
|
||||
/// <summary>
|
||||
/// <summary>
|
||||
/// Gets the model ID to use for the request.
|
||||
/// </summary>
|
||||
public string Model { get; init; } = string.Empty;
|
||||
|
||||
@@ -369,7 +369,7 @@ public class ChatMessageRequestTests : SerializationTest
|
||||
specificToolChoice!.Type.Should().Be("tool");
|
||||
specificToolChoice.Name.Should().Be("test-tool");
|
||||
chatMessageRequest.Tools.Should().HaveCount(0);
|
||||
}
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void JsonDeserialization_WhenDeserializedWithUnknownToolChoice_ItShouldThrowJsonException()
|
||||
|
||||
@@ -135,7 +135,7 @@ public class ToolCallTests : SerializationTest
|
||||
[Fact]
|
||||
public async Task InvokeAsync_WhenCalledAndToolHasCustomParameterName_ItShouldReturnSuccessResult()
|
||||
{
|
||||
var func = ([FunctionParameter("Person's Age", "Age")]int i) => i.ToString();
|
||||
var func = ([FunctionParameter("Person's Age", "Age")] int i) => i.ToString();
|
||||
var anthropicFunction = new AnthropicFunction(func.Method, func.Target);
|
||||
var tool = new Tool("tool", "description", anthropicFunction);
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
global using FluentAssertions;
|
||||
global using System.Text.Json;
|
||||
global using System.Text.Json.JsonDiffPatch.Xunit;
|
||||
|
||||
global using AnthropicClient.Models;
|
||||
global using AnthropicClient.Utils;
|
||||
|
||||
global using System.Text.Json;
|
||||
global using System.Text.Json.JsonDiffPatch.Xunit;
|
||||
global using FluentAssertions;
|
||||
|
||||
global using Microsoft.Extensions.Configuration;
|
||||
Reference in New Issue
Block a user