diff --git a/tests/topenAIChat.m b/tests/topenAIChat.m index 92e62db..390ec9e 100644 --- a/tests/topenAIChat.m +++ b/tests/topenAIChat.m @@ -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"));