Skip to content

Commit 95efe89

Browse files
committed
Fix file upload failures due to incorrectly set content headers. #42
1 parent 4b2b108 commit 95efe89

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Private/Initialize-OpenAIAPIRequestParam.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ function Initialize-OpenAIAPIRequestParam {
119119
}
120120
}
121121
$InternalParams.Body = $Body
122+
$InternalParams.ContentType = $ContentType
122123

123124
return $InternalParams
124125
}

0 commit comments

Comments
 (0)