Fix unit test of GetChatCompletions_Returns_RoleDialogModel
This commit is contained in:
parent
e456cdb83a
commit
a2751e9baf
|
|
@ -27,7 +27,7 @@ namespace BotSharp.Plugin.SemanticKernel.Tests
|
|||
}
|
||||
|
||||
[Fact]
|
||||
public void GetChatCompletions_Returns_RoleDialogModel()
|
||||
public async void GetChatCompletions_Returns_RoleDialogModel()
|
||||
{
|
||||
// Arrange
|
||||
var agent = new Agent();
|
||||
|
|
@ -53,7 +53,7 @@ namespace BotSharp.Plugin.SemanticKernel.Tests
|
|||
|
||||
|
||||
// Act
|
||||
var result = _provider.GetChatCompletions(agent, conversations);
|
||||
var result = await _provider.GetChatCompletions(agent, conversations);
|
||||
|
||||
// Assert
|
||||
Assert.IsType<RoleDialogModel>(result);
|
||||
|
|
|
|||
Loading…
Reference in a new issue