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.
2 parents c00241a + 3c42bc9 commit c7b2129Copy full SHA for c7b2129
+llms/+stream/responseStreamer.m
@@ -45,9 +45,8 @@
45
catch ME
46
errID = 'llms:stream:responseStreamer:InvalidInput';
47
msg = "Input does not have the expected json format. " + str{i};
48
- causeException = MException(errID,msg);
49
- ME = addCause(ME,causeException);
50
- rethrow(ME)
+ ME = MException(errID,msg);
+ throw(ME)
51
end
52
if ischar(json.choices.finish_reason) && ismember(json.choices.finish_reason,["stop","tool_calls"])
53
stop = true;
0 commit comments