Skip to content

Commit

Permalink
remove Microsoft.Extensions.Http dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
lofcz committed Jun 8, 2024
1 parent af6b83a commit 571baf2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion LlmTornado/LlmTornado.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,5 @@
<ItemGroup>
<PackageReference Include="Enums.NET" Version="5.0.0" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3"/>
<PackageReference Include="Microsoft.Extensions.Http" Version="8.0.0" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion LlmTornado/Vendor/Anthropic/AnthropicEndpointProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ public override HttpRequestMessage OutboundMessage(string url, HttpMethod verb,

req.Headers.Add("User-Agent", EndpointBase.GetUserAgent());
req.Headers.Add("anthropic-version", "2023-06-01");
req.Headers.Add("anthropic-beta", "tools-2024-05-16");
req.Headers.Add("anthropic-beta", "tools-2024-05-16"); // <-- as of 6/24 maybe not needed?

ProviderAuthentication? auth = Api.GetProvider(LLmProviders.Anthropic).Auth;

Expand Down

0 comments on commit 571baf2

Please sign in to comment.