beginner needs some help pls #80
-
I want to try Leettools, but I am struggling a bit. Here are the steps I have already done and the error message. Thanks in advance for your help. First, I created a new Anaconda environment. Then, I installed Leettools with pip. I also downloaded the .env.ollama file and modified it to:
Then, I ran the following command, like in the example:
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 13 replies
-
Thanks for trying LeetTools out! I think it is a locale mismatch, can you try "locale" command and paste the output? I will add a patch to enforce the encoding as well. |
Beta Was this translation helpful? Give feedback.
-
Usually you can use "LANG=en_US.UTF-8" to set the locale so that some of the nice emojis in the logs can be processed:-)
|
Beta Was this translation helpful? Give feedback.
-
Another user encountered the same problem and it turned out the problem was EDS_DEFAULT_LLM_BASE_URL=http://localhost:11434/api should be EDS_DEFAULT_LLM_BASE_URL=http://localhost:11434/v1 Since Ollama responds to both endpoints and the error got propagated into the OpenAI client lib. |
Beta Was this translation helpful? Give feedback.
Another user encountered the same problem and it turned out the problem was
EDS_DEFAULT_LLM_BASE_URL=http://localhost:11434/api
should be
EDS_DEFAULT_LLM_BASE_URL=http://localhost:11434/v1
Since Ollama responds to both endpoints and the error got propagated into the OpenAI client lib.