Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
jefim committed Jan 5, 2024
1 parent b946d09 commit 62afaca
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ public async Task TestCompletion()
var input = new Input
{
Model = "gpt-3.5-turbo",
ApiKey = this.apiKey,
Messages = new[]
{
new InputMessage
Expand All @@ -29,7 +30,7 @@ public async Task TestCompletion()
},
};

var options = new Options { ApiKey = this.apiKey };
var options = new Options();

var ret = await OpenAI.CallChatGPT(input, options, default);
Assert.IsTrue(ret.ChatCompletion.Model.StartsWith("gpt-3.5-turbo"));
Expand Down

0 comments on commit 62afaca

Please sign in to comment.