Skip to content

Commit 744e646

Browse files
committed
Updating readme.
1 parent f9d29fb commit 744e646

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

openAIChat.m

+1-6
Original file line numberDiff line numberDiff line change
@@ -254,11 +254,6 @@ function mustBeValidFunctionCall(this, functionCall)
254254
end
255255
end
256256

257-
function mustBeNonzeroLengthTextScalar(content)
258-
mustBeNonzeroLengthText(content)
259-
mustBeTextScalar(content)
260-
end
261-
262257
function [functionsStruct, functionNames] = functionAsStruct(functions)
263258
numFunctions = numel(functions);
264259
functionsStruct = cell(1, numFunctions);
@@ -277,7 +272,7 @@ function mustBeValidMsgs(value)
277272
end
278273
else
279274
try
280-
mustBeNonzeroLengthTextScalar(value);
275+
llms.utils.mustBeNonzeroLengthTextScalar(value);
281276
catch ME
282277
error("llms:mustBeMessagesOrTxt", llms.utils.errorMessageCatalog.getMessage("llms:mustBeMessagesOrTxt"));
283278
end

0 commit comments

Comments
 (0)