Assistant Error TypeError: Assistants.create()

I am trying to uplaod a file and create an assistant, but I am getting this error.
TypeError: Assistants.create() got an unexpected keyword argument ‘file_ids’