AineeJames / ChatGPTerminator

GPTerminator provides a convenient way to interact with OpenAI's chat completion and image generation API's using your command line interface.
MIT License
230 stars 16 forks source link

The program crashes when changing the model to GPT-4 #28

Open bender39 opened 1 year ago

bender39 commented 1 year ago

It wil run then crash when sending a message. "KeyError: 'Could not automatically map gpt-4 to a tokeniser. Please use tiktok.get_encoding to explicitly get the tokeniser you expect.'"

james-rowe commented 1 year ago

Added fix for this issue on this fork: https://github.com/james-rowe/ChatGPTerminator