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] [JsonConstructor]
internal Tool() internal Tool()
{ {
var func = () => {}; var func = () => { };
Name = string.Empty; Name = string.Empty;
Description = string.Empty; Description = string.Empty;
@@ -2,8 +2,8 @@ using System.Reflection;
using System.Text.Json; using System.Text.Json;
using System.Text.Json.Nodes; using System.Text.Json.Nodes;
using AnthropicClient.Models;
using AnthropicClient.Json; using AnthropicClient.Json;
using AnthropicClient.Models;
namespace AnthropicClient.Utils; namespace AnthropicClient.Utils;
@@ -319,6 +319,6 @@ public class AnthropicApiClientTests : IntegrationTest
var toolCallResult = await toolCall!.InvokeAsync<string>(); var toolCallResult = await toolCall!.InvokeAsync<string>();
toolCallResult.IsSuccess.Should().BeTrue(); 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;
global using System.Text.Json; global using System.Text.Json;
global using System.Text.Json.Nodes;
global using System.Text.Json.JsonDiffPatch.Xunit; 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.Json;
global using AnthropicClient.Models;
global using AnthropicClient.Tests.Data; global using AnthropicClient.Tests.Data;
global using AnthropicClient.Tests.Fixtures; global using AnthropicClient.Tests.Fixtures;
global using AnthropicClient.Utils;
global using FluentAssertions; global using FluentAssertions;
global using Microsoft.Extensions.Configuration; global using Microsoft.Extensions.Configuration;
global using RichardSzalay.MockHttp; global using RichardSzalay.MockHttp;
global using System.Net;
global using System.Collections;