You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TFileCreateParams inherits from TMultipartFormData. However, TFileCreateParams didn't implement its own constructor. Therefore,
TFileCreateParams.Create will call TObject.Create, skipping all the initialization code inside TMultipartFormData.Create(...).
This later will result invalid access to Stream object inside TMultipartFormData.
The text was updated successfully, but these errors were encountered:
https://github.com/HemulGM/DelphiOpenAI/blob/main/OpenAI.Files.pas
Line 18,
TFileCreateParams inherits from TMultipartFormData. However, TFileCreateParams didn't implement its own constructor. Therefore,
TFileCreateParams.Create will call TObject.Create, skipping all the initialization code inside TMultipartFormData.Create(...).
This later will result invalid access to Stream object inside TMultipartFormData.
The text was updated successfully, but these errors were encountered: