Skip to content

Commit

Permalink
Add IsRunning() to the test client
Browse files Browse the repository at this point in the history
  • Loading branch information
awaescher committed May 15, 2024
1 parent fa7a16a commit a5d3d0c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/TestOllamaApiClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -92,4 +92,6 @@ internal void DefineChatResponse(ChatRole role, string answer)
_role = role;
_answer = answer;
}

public Task<bool> IsRunning(CancellationToken cancellationToken = default) => Task.FromResult(true);
}

0 comments on commit a5d3d0c

Please sign in to comment.