openai.AuthenticationError: Error code: 401 - {'error': {'message': 'Incorrect API key provided: sk-IKpXb***************************************Cf5e. You can find your API key at https://platform.openai.com/account/api-keys.', 'type': 'invalid_request_error', 'param': None, 'code': 'invalid_api_key'}}
大概率是你的key不对或者你买的不是直连的,中转的是不行的,除非你改一些接口把(具体的我也不清楚)
openai.RateLimitError: Error code: 429 - {'error': {'message': 'You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.', 'type': 'insufficient_quota', 'param': None, 'code': 'insufficient_quota'}}
你的key是对的,但是大概率过期了(因为我是tb购买的直连,我不清楚官网会不会有时间限制)