chatgpt icon indicating copy to clipboard operation
chatgpt copied to clipboard

Update to support v1/chat/completions (for gpt-3.5-turbo and gpt-4)

Open quinncomendant opened this issue 2 years ago • 2 comments
trafficstars

Currently, it seems verdverm/chatgpt doesn't support newer OpenAPI chat models?

❯ chatgpt -m gpt-4 -q "Who are you?"
error, status code: 404, message: This is a chat model and not supported in the v1/completions endpoint. Did you mean to use v1/chat/completions?

quinncomendant avatar Mar 30 '23 20:03 quinncomendant

indeed, I have already started the work towards adding support, still local

I'm also thinking about supporting the embeddings and edit APIs too

verdverm avatar Mar 30 '23 21:03 verdverm

@quinncomendant updated the interactive mode to support the chat based models

Let me know if it works for you

verdverm avatar Apr 29 '23 16:04 verdverm