Skip to content

Commit

Permalink
Update +llms/+utils/errorMessageCatalog.m
Browse files Browse the repository at this point in the history
Co-authored-by: Christopher Creutzig <[email protected]>
  • Loading branch information
MiriamScharnke and ccreutzi authored Jul 26, 2024
1 parent d24fa00 commit 7bed93d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion +llms/+utils/errorMessageCatalog.m
Original file line number Diff line number Diff line change
Expand Up @@ -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}"".";
Expand Down

0 comments on commit 7bed93d

Please sign in to comment.