chore: run dotnet format
This commit is contained in:
@@ -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"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -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;
|
|
||||||
|
|||||||
Reference in New Issue
Block a user