Skip to content

Commit

Permalink
Merge pull request #96 from awaescher/merge
Browse files Browse the repository at this point in the history
Merge dependabot and eltociear
  • Loading branch information
awaescher authored Oct 9, 2024
2 parents dc86c03 + f76388e commit 7c84eed
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions src/OllamaApiClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ private async Task<TResponse> PostAsync<TRequest, TResponse>(string endpoint, TR
/// </summary>
/// <param name="requestMessage">The http request message to send</param>
/// <param name="ollamaRequest">The request containing custom http request headers</param>
/// <param name="completionOption">When the operation should complete (as soon as a response is available or after reading the whole respose content)</param>
/// <param name="completionOption">When the operation should complete (as soon as a response is available or after reading the whole response content)</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
protected virtual async Task<HttpResponseMessage> SendToOllamaAsync(HttpRequestMessage requestMessage, OllamaRequest? ollamaRequest, HttpCompletionOption completionOption, CancellationToken cancellationToken)
{
Expand Down Expand Up @@ -365,4 +365,4 @@ public class Configuration
public record ConversationContext(long[] Context);

public record ConversationContextWithResponse(string Response, long[] Context) :
ConversationContext(Context);
ConversationContext(Context);
2 changes: 1 addition & 1 deletion src/OllamaSharp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@

<ItemGroup>
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="8.0.0" />
<PackageReference Include="System.Text.Json" Version="8.0.4" />
<PackageReference Include="System.Text.Json" Version="8.0.5" />
</ItemGroup>
</Project>
12 changes: 6 additions & 6 deletions test/Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="FluentAssertions" Version="6.12.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
<PackageReference Include="Moq" Version="4.20.70" />
<PackageReference Include="NUnit" Version="4.1.0" />
<PackageReference Include="NUnit3TestAdapter" Version="4.5.0" />
<PackageReference Include="NUnit.Analyzers" Version="4.2.0">
<PackageReference Include="FluentAssertions" Version="6.12.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
<PackageReference Include="Moq" Version="4.20.72" />
<PackageReference Include="NUnit" Version="4.2.2" />
<PackageReference Include="NUnit3TestAdapter" Version="4.6.0" />
<PackageReference Include="NUnit.Analyzers" Version="4.3.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down

0 comments on commit 7c84eed

Please sign in to comment.