Skip to content

Commit 0a75d31

Browse files
committed
Prepare for switching the Azure default deployment from 3.5 to 4o-mini
1 parent a9a56e9 commit 0a75d31

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

tests/hopenAIChat.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
constructor
1818
defaultModel
1919
visionModel
20+
gpt35Model
2021
end
2122

2223
methods(Test)
@@ -126,7 +127,7 @@ function doReturnErrors(testCase)
126127
% This input is considerably longer than accepted as input for
127128
% GPT-3.5 (16385 tokens)
128129
wayTooLong = string(repmat('a ',1,20000));
129-
testCase.verifyError(@() generate(testCase.defaultModel,wayTooLong), "llms:apiReturnedError");
130+
testCase.verifyError(@() generate(testCase.gpt35Model,wayTooLong), "llms:apiReturnedError");
130131
end
131132

132133
function createChatWithStreamFunc(testCase)

tests/tazureChat.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
defaultModel = azureChat;
1717
visionModel = azureChat(Deployment="gpt-4o");
1818
structuredModel = azureChat("Deployment","gpt-4o-2024-08-06");
19+
gpt35Model = azureChat(DeploymentID="gpt-35-turbo-16k-0613");
1920
end
2021

2122
methods(Test)

tests/topenAIChat.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
visionModel = openAIChat;
1818
structuredModel = openAIChat;
1919
noStructuredOutputModel = openAIChat(ModelName="gpt-3.5-turbo");
20+
gpt35Model = openAIChat(ModelName="gpt-3.5-turbo");
2021
end
2122

2223
methods(Test)

0 commit comments

Comments
 (0)