lambiengcode / compose-chatgpt-kotlin-android-chatbot

Compose ChatGPT Kotlin - Android Chatbot using Kotlin + Jetpack Compose + Coroutine + MVVM + Retrofit2 + OpenAI's GPT-3 API. Allow stream response from ChatGPT API.
https://youtube.com/shorts/esLh-n3Ao5U
MIT License
217 stars 31 forks source link

Latest commit causing server response error code 404 #11

Closed sollarp closed 1 year ago

sollarp commented 1 year ago

Hi Kai,

I have noticed your latest commit causing server response error must be the issue with the request format. Can you confirm this?

response error

lambiengcode commented 1 year ago

Thanks for report, gpt 4 needs to be licensed from OpenAI, if your api_key is not approved then use gpt3 instead of gpt4

sollarp commented 1 year ago

That must be an issue. Unfortunately I do not have a gpt4 license but the gpt3 key does not work with the latest commit out of the box.

lambiengcode commented 1 year ago

okay, I'm fix it in commit, let check it!

sollarp commented 1 year ago

Sorry for being a pain .I have tested you latest commit but the issue remained. I can confirm the API has been called at server side but the response not been handled properly. Have you tested this with gpt3 only key? Thanks