julian-shalaby / Onuro-feedback

2 stars 0 forks source link

OpenAI API Intergration #14

Closed coramba closed 2 months ago

coramba commented 2 months ago

Hi! I tried to use ChatWindow plugin in JetBrains PhpStorm 2024.1 with OpenAI ChatGPT model. I have entered newly generated API key via settings > CWConfiguration > API Keys > OpenAI API Key and OpenAI option appeared in model selection drop list. Yet I cannot use neither gpt-4o

An error occurred: Error code: 404 - {'error': {'message': 'The model gpt-4-turbo does not exist or you do not have access to it.', 'type': 'invalid_request_error', 'param': None, 'code': 'model_not_found'}}

nor gpt-3.5 turbo

An error occurred: 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'}}

I don't think that the limits should not be issue because I'm freshly payed OpenAI Plus account and haven't use any other API key anywhere except ChatWindow plugin.

I have also checked OpenAI usage dashboard and there are no signs of high load - actually it shows zero usage.

coramba commented 2 months ago

Sorry, my bad. Didn't realize difference between ChatGPT Plus account and payed API. Nothing to do with plugin.