Skip to content

Commit f32f743

Browse files
committed
Use GPT-3.5 for the “return errors” test
The default model has a too large context window for this test.
1 parent 57cf331 commit f32f743

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/topenAIChat.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ function gpt35TurboErrorsForImages(testCase)
245245
end
246246

247247
function doReturnErrors(testCase)
248-
chat = openAIChat;
248+
chat = openAIChat(ModelName="gpt-3.5-turbo");
249249
% This input is considerably longer than accepted as input for
250250
% GPT-3.5 (16385 tokens)
251251
wayTooLong = string(repmat('a ',1,20000));

0 commit comments

Comments
 (0)