Skip to content

Commit

Permalink
Merge pull request #150 from tryAGI/bot/auto-format_202501200517
Browse files Browse the repository at this point in the history
style:Run dotnet format
  • Loading branch information
github-actions[bot] authored Jan 20, 2025
2 parents 3880366 + 52af43f commit 6491f90
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Ollama/src/OllamaProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public sealed class OllamaProvider(
{
Timeout = TimeSpan.FromHours(1),
}, baseUri: new Uri(url));

/// <summary>
/// OllamaChatModel and OllamaEmbeddingModel will pull models automatically if this is true.
/// </summary>
Expand All @@ -27,7 +27,7 @@ public void Dispose()
{
Api.Dispose();
}

public async Task PullModelIfRequiredAndAllowedAsync(
string id,
CancellationToken cancellationToken = default)
Expand All @@ -36,7 +36,7 @@ public async Task PullModelIfRequiredAndAllowedAsync(
{
return;
}

try
{
// Pull the model if it is not running
Expand Down

0 comments on commit 6491f90

Please sign in to comment.