Skip to content

Commit d54de59

Browse files
committed
Switch specialErrorForUnsupportedResponseFormat to other deployment
The gpt-4o deployment no longer errors for structured output (after model update). Switch to a deployment that does error.
1 parent 191d112 commit d54de59

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/tazureChat.m

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,10 +137,8 @@ function canUseAPIVersions(testCase, APIVersions)
137137
end
138138

139139
function specialErrorForUnsupportedResponseFormat(testCase)
140-
% Our "gpt-4o" deployment has the model version 2024-05-13,
141-
% which does not support structured output
142140
testCase.verifyError(@() generate(...
143-
azureChat(DeploymentID="gpt-4o"), ...
141+
azureChat(DeploymentID="o1-mini"), ...
144142
"What is the smallest prime?", ...
145143
ResponseFormat=struct("number",1)), ...
146144
"llms:noStructuredOutputForAzureDeployment");

0 commit comments

Comments
 (0)