Mantella icon indicating copy to clipboard operation
Mantella copied to clipboard

ValueError: Unknown encoding cl100k_base

Open overtimepog opened this issue 6 months ago • 4 comments

Mantella currently running for SkyrimVR (C:\Steam\steamapps\common\SkyrimVR). Mantella mod located in C:\skyrim\MadGod\mods\Mantella - Bring NPCs to Life with AI Running Mantella with 'gpt-3.5-turbo'. The language model can be changed in MantellaSoftware/config.ini 23:37:06.756 ERROR: Error loading model. If you are using an alternative to OpenAI, please find the setting llm_api in MantellaSoftware/config.ini and follow the instructions to change this setting 23:37:06.757 ERROR: Traceback (most recent call last): File "src\llm\openai_client.py", line 106, in init File "tiktoken\model.py", line 75, in encoding_for_model File "tiktoken\registry.py", line 60, in get_encoding ValueError: Unknown encoding cl100k_base

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "main.py", line 21, in File "src\setup.py", line 113, in initialise File "src\llm\openai_client.py", line 110, in init File "tiktoken\model.py", line 75, in encoding_for_model File "tiktoken\registry.py", line 60, in get_encoding ValueError: Unknown encoding cl100k_base

I have tried everything, OpenRouter and OpenAI cause this no matter what, I have no idea

overtimepog avatar Aug 12 '24 03:08 overtimepog