79268401

Date: 2024-12-10 13:25:26
Score: 2.5
Natty:
Report link

Am repeatedly getting these 2 errors, have even checked the official documentation please share some code which gets chatgpt to work in google colab using the paid API key:

TypeError: Client.init() got an unexpected keyword argument 'proxies'

You tried to access openai.ChatCompletion, but this is no longer supported in openai>=1.0.0 - see the README at https://github.com/openai/openai-python for the API.

You can run openai migrate to automatically upgrade your codebase to use the 1.0.0 interface.

Alternatively, you can pin your installation to the old version, e.g. pip install openai==0.28

Reasons:
  • RegEx Blacklisted phrase (2.5): please share some code
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: aaa