VoxPoser
VoxPoser copied to clipboard
update openai call method
When openai package version is >1.0.0, we need to use new way to get body of response.
Also fix the import problem
I tried this modification, but this error occurred. NameError: name 'client' is not defined @ray-ruisun
I tried this modification, but this error occurred. NameError: name 'client' is not defined @ray-ruisun
Change ‘client’ to ‘openai’.