We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6a9106 commit 392749fCopy full SHA for 392749f
+llms/+stream/responseStreamer.m
@@ -55,10 +55,9 @@
55
this.Incomplete = str{i};
56
return;
57
end
58
- errID = 'llms:stream:responseStreamer:InvalidInput';
59
- msg = "Input does not have the expected json format. " + str{i};
60
- ME = MException(errID,msg);
61
- throw(ME)
+ error("llms:stream:responseStreamer:InvalidInput", ...
+ llms.utils.errorMessageCatalog.getMessage(...
+ "llms:stream:responseStreamer:InvalidInput", str{i}));
62
63
if isfield(json,'choices')
64
if isempty(json.choices)
0 commit comments