Skip to content

Commit

Permalink
Rename a test case
Browse files Browse the repository at this point in the history
  • Loading branch information
toshiakit committed Mar 1, 2024
1 parent 6736937 commit 544d271
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/topenAIChat.m
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ function errorsWhenPassingToolChoiceWithEmptyTools(testCase)
testCase.verifyError(@()generate(chat,"input", ToolChoice="bla"), "llms:mustSetFunctionsForCall");
end

function errorsWhenPassingToolChoiceWithNone(testCase)
function settingToolChoiceWithNone(testCase)
functions = openAIFunction("funName");
chat = openAIChat(ApiKey="this-is-not-a-real-key",Tools=functions);
testCase.verifyWarningFree(@()generate(chat,"This is okay","ToolChoice","none"));
Expand Down

0 comments on commit 544d271

Please sign in to comment.