Skip to content

Commit bb7a186

Browse files
authored
Merge pull request #81 from matlab-deep-learning/fix-model-default
Use correct `ModelName` default
2 parents 19effe4 + cc43556 commit bb7a186

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openAIChat.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@
209209
arguments
210210
this (1,1) openAIChat
211211
messages {mustBeValidMsgs}
212-
nvp.ModelName (1,1) string {mustBeModel} = "gpt-4o-mini"
212+
nvp.ModelName (1,1) string {mustBeModel} = this.ModelName
213213
nvp.Temperature {llms.utils.mustBeValidTemperature} = this.Temperature
214214
nvp.TopP {llms.utils.mustBeValidProbability} = this.TopP
215215
nvp.StopSequences {llms.utils.mustBeValidStop} = this.StopSequences

0 commit comments

Comments
 (0)