File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -250,7 +250,7 @@ function New-Assistant {
250250 if ($PSBoundParameters.ContainsKey (' TopP' )) {
251251 $PostBody.top_p = $TopP
252252 }
253- if ($PSBoundParameters.ContainsKey (' Format ' )) {
253+ if ($PSBoundParameters.ContainsKey (' ResponseFormat ' )) {
254254 if ($ResponseFormat -is [type ]) {
255255 # Structured Outputs
256256 $typeSchema = ConvertTo-JsonSchema $ResponseFormat
Original file line number Diff line number Diff line change @@ -413,7 +413,7 @@ function Request-ChatCompletion {
413413 $PostBody.top_logprobs = $TopLogProbs
414414 }
415415 }
416- if ($PSBoundParameters.ContainsKey (' Format ' )) {
416+ if ($PSBoundParameters.ContainsKey (' ResponseFormat ' )) {
417417 if ($ResponseFormat -is [type ]) {
418418 # Structured Outputs
419419 $typeSchema = ConvertTo-JsonSchema $ResponseFormat
Original file line number Diff line number Diff line change @@ -328,7 +328,7 @@ function Start-ThreadRun {
328328 $PostBody.tool_choice = @ {type = $ToolChoice }
329329 }
330330 }
331- if ($PSBoundParameters.ContainsKey (' Format ' )) {
331+ if ($PSBoundParameters.ContainsKey (' ResponseFormat ' )) {
332332 if ($ResponseFormat -is [type ]) {
333333 # Structured Outputs
334334 $typeSchema = ConvertTo-JsonSchema $ResponseFormat
You can’t perform that action at this time.
0 commit comments