jekalmin / extended_openai_conversation

Home Assistant custom component of conversation agent. It uses OpenAI to control your devices.
834 stars 108 forks source link

Error 400 #159

Open terzo33 opened 4 months ago

terzo33 commented 4 months ago

Hi, i have this problem

Screenshot_20240226_010610_Home Assistant.jpg

With standard OpenAI works fine

With "gpt-4-0125-preview" works fine

If I use "gpt-3.5-turbo-0125" or "gpt-3.5-turbo-1106" doesn't work

Why?

pajeronda commented 4 months ago

I confirm.

jekalmin commented 4 months ago

Thanks for reporting an issue.

It seems you are using too many tokens.

How many entities did you expose? What functions did you register? How did you ask chatgpt?

mercuryin commented 3 weeks ago

Same problem for me, I have just came across to the post doing a search on google because I have error 400, too many tokens, when I am only typing " hello ". If I change to gpt-4-0125-preview works fine. Any idea how to solve this ? ChatGPT plus user here.