From 7bed93dcc733dacc92eb15decaca154e298ef547 Mon Sep 17 00:00:00 2001 From: MiriamScharnke Date: Fri, 26 Jul 2024 10:21:33 +0100 Subject: [PATCH] Update +llms/+utils/errorMessageCatalog.m Co-authored-by: Christopher Creutzig <89011131+ccreutzi@users.noreply.github.com> --- +llms/+utils/errorMessageCatalog.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/+llms/+utils/errorMessageCatalog.m b/+llms/+utils/errorMessageCatalog.m index f33fd3e..5b4d6a9 100644 --- a/+llms/+utils/errorMessageCatalog.m +++ b/+llms/+utils/errorMessageCatalog.m @@ -46,7 +46,7 @@ catalog("llms:endpointMustBeSpecified") = "Unable to find endpoint. Either set environment variable AZURE_OPENAI_ENDPOINT or specify name-value argument ""Endpoint""."; catalog("llms:deploymentMustBeSpecified") = "Unable to find deployment name. Either set environment variable AZURE_OPENAI_DEPLOYMENT or specify name-value argument ""Deployment""."; catalog("llms:keyMustBeSpecified") = "Unable to find API key. Either set environment variable {1} or specify name-value argument ""APIKey""."; -catalog("llms:mustHaveMessages") = "Message must not be empty."; +catalog("llms:mustHaveMessages") = "Message history must not be empty."; catalog("llms:mustSetFunctionsForCall") = "When no functions are defined, ToolChoice must not be specified."; catalog("llms:mustBeMessagesOrTxt") = "Message must be nonempty string, character array, or messageHistory object."; catalog("llms:invalidOptionAndValueForModel") = "'{1}' with value '{2}' is not supported for model ""{3}"".";