VoxPoser icon indicating copy to clipboard operation
VoxPoser copied to clipboard

update openai call method

Open ray-ruisun opened this issue 1 year ago • 2 comments

When openai package version is >1.0.0, we need to use new way to get body of response.

Also fix the import problem

ray-ruisun avatar Nov 09 '23 17:11 ray-ruisun

I tried this modification, but this error occurred. NameError: name 'client' is not defined @ray-ruisun

AGREATAPE avatar Nov 16 '23 03:11 AGREATAPE

I tried this modification, but this error occurred. NameError: name 'client' is not defined @ray-ruisun

Change ‘client’ to ‘openai’.

xiaoer666 avatar Mar 02 '24 03:03 xiaoer666