chore: run dotnet format

This commit is contained in:
Stevan Freeborn
2024-07-01 22:46:02 -05:00
parent f848d4b792
commit 1ae90106b5
21 changed files with 78 additions and 78 deletions
+1 -1
View File
@@ -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;
@@ -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);
+3 -3
View File
@@ -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;