We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9d29fb commit 744e646Copy full SHA for 744e646
openAIChat.m
@@ -254,11 +254,6 @@ function mustBeValidFunctionCall(this, functionCall)
254
end
255
256
257
-function mustBeNonzeroLengthTextScalar(content)
258
-mustBeNonzeroLengthText(content)
259
-mustBeTextScalar(content)
260
-end
261
-
262
function [functionsStruct, functionNames] = functionAsStruct(functions)
263
numFunctions = numel(functions);
264
functionsStruct = cell(1, numFunctions);
@@ -277,7 +272,7 @@ function mustBeValidMsgs(value)
277
272
278
273
else
279
274
try
280
- mustBeNonzeroLengthTextScalar(value);
275
+ llms.utils.mustBeNonzeroLengthTextScalar(value);
281
276
catch ME
282
error("llms:mustBeMessagesOrTxt", llms.utils.errorMessageCatalog.getMessage("llms:mustBeMessagesOrTxt"));
283
0 commit comments