chatgpt
chatgpt copied to clipboard
Update to support v1/chat/completions (for gpt-3.5-turbo and gpt-4)
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?
indeed, I have already started the work towards adding support, still local
I'm also thinking about supporting the embeddings and edit APIs too
@quinncomendant updated the interactive mode to support the chat based models
Let me know if it works for you