Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in gpt-4 #101

Closed
VictimOfPing opened this issue Mar 20, 2023 · 6 comments
Closed

Error in gpt-4 #101

VictimOfPing opened this issue Mar 20, 2023 · 6 comments
Labels
good first issue Good for newcomers

Comments

@VictimOfPing
Copy link

I tried changing model to gpt-4 but it gives me this error:

L'errore è questo:

Error message: Failed to send message. HTTP 404 - {
"error": {
"message": "This is a chat model and not supported in the v1/completions endpoint. Did you mean to use v1/chat/completions?",
"type": "invalid_request_error",
"param": "model",
"code": null
}
}

@danny-avila
Copy link
Owner

Sadly this project is not using the latest package for node-chatgpt-api as there are some breaking changes for us. I would like to try each updated version and see which exactly allows gpt-4 but I don't have a gpt-4 key to test.

waylaidwanderer/node-chatgpt-api#208

@VictimOfPing
Copy link
Author

Sadly this project is not using the latest package for node-chatgpt-api as there are some breaking changes for us. I would like to try each updated version and see which exactly allows gpt-4 but I don't have a gpt-4 key to test.

waylaidwanderer/node-chatgpt-api#208

I have it

@danny-avila
Copy link
Owner

I have it

you can try upgrade the npm package @waylaidwanderer/node-chatgpt-api incrementally. i know the latest update will break functionality though

@danny-avila danny-avila added the good first issue Good for newcomers label Mar 20, 2023
@danny-avila
Copy link
Owner

@puritynetwork good news, you should be able to set it after my update today

@VictimOfPing
Copy link
Author

@puritynetwork good news, you should be able to set it after my update today

Ok, i try

@danny-avila
Copy link
Owner

I'm closing for now, since your specific issue should be solved, but i will make gpt-4 an option in the model menu soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants