chore: run dotnet format

This commit is contained in:
Stevan Freeborn
2024-07-07 16:21:23 -05:00
parent c2e21ac574
commit 3851bf41c0
10 changed files with 111 additions and 111 deletions
+1 -1
View File
@@ -64,7 +64,7 @@ public class Tool
[JsonConstructor]
internal Tool()
{
var func = () => {};
var func = () => { };
Name = string.Empty;
Description = string.Empty;
@@ -2,8 +2,8 @@ using System.Reflection;
using System.Text.Json;
using System.Text.Json.Nodes;
using AnthropicClient.Models;
using AnthropicClient.Json;
using AnthropicClient.Models;
namespace AnthropicClient.Utils;
@@ -319,6 +319,6 @@ public class AnthropicApiClientTests : IntegrationTest
var toolCallResult = await toolCall!.InvokeAsync<string>();
toolCallResult.IsSuccess.Should().BeTrue();
toolCallResult.Value.Should().Be(getWeather("San Francisco, CA","fahrenheit"));
toolCallResult.Value.Should().Be(getWeather("San Francisco, CA", "fahrenheit"));
}
}
+5 -5
View File
@@ -1,18 +1,18 @@
global using System.Collections;
global using System.Net;
global using System.Text;
global using System.Text.Json;
global using System.Text.Json.Nodes;
global using System.Text.Json.JsonDiffPatch.Xunit;
global using System.Text.Json.Nodes;
global using AnthropicClient.Models;
global using AnthropicClient.Utils;
global using AnthropicClient.Json;
global using AnthropicClient.Models;
global using AnthropicClient.Tests.Data;
global using AnthropicClient.Tests.Fixtures;
global using AnthropicClient.Utils;
global using FluentAssertions;
global using Microsoft.Extensions.Configuration;
global using RichardSzalay.MockHttp;
global using System.Net;
global using System.Collections;