Skip to content

Commit d0e4c93

Browse files
authored
Update errorMessageCatalog.m
1 parent 0b623f9 commit d0e4c93

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

+llms/+utils/errorMessageCatalog.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
properties(Constant)
77
%CATALOG dictionary mapping error ids to error msgs
8-
Catalog = buildErrorMessageCatalog;
8+
Catalog = buildErrorMessageCatalog();
99
end
1010

1111
methods(Static)
@@ -31,7 +31,7 @@
3131
end
3232
end
3333

34-
function catalog = buildErrorMessageCatalog
34+
function catalog = buildErrorMessageCatalog()
3535
catalog = dictionary("string", "string");
3636
catalog("llms:mustBeUnique") = "Values must be unique.";
3737
catalog("llms:mustBeVarName") = "Parameter name must begin with a letter and contain not more than 'namelengthmax' characters.";
@@ -56,4 +56,4 @@
5656
catalog("llms:warningJsonInstruction") = "When using JSON mode, you must also prompt the model to produce JSON yourself via a system or user message.";
5757
catalog("llms:apiReturnedError") = "OpenAI API Error: {1}";
5858
catalog("llms:dimensionsMustBeSmallerThan") = "Dimensions must be less than or equal to {1}.";
59-
end
59+
end

0 commit comments

Comments
 (0)