Open Charlie-Root opened 6 months ago
Hi @Charlie-Root, thanks for reporting the issue. A few initial questions to start are below.
The current version should be 0.4.79
. You can check which version you have installed on your system using the command:
pip list
To upgrade the package you can use the command:
pip install readmeai --upgrade
While we debug your issue, have you checked out our Streamlit app for readme-ai? You can generate readme.md files in your browser using the web-app with the link below.
Thank you, Eli
What OS are you using?
Arch Linux
Did you export your OpneAI API key before running the CLI?
I did, as i said both paid and free version was tried.
Have you installed the latest version of readme-ai with pip?
As said, both (latest) PIP install as well as Docker was tried.
edit; Just tried your Streamlit URL and it also throws that error on every repo i try.
Hi,
I have the same issue. Im on Pop!_OS 22.04 with paid OpenAI API key, running the latest version (0.4.79).
@iceananas can you try the latest version readmeai 0.4.988
when you get a moment?
@eli64s It's still the same sadly, I updated to 0.4.999
.
But I am actually getting '401 Unauthorized' for url 'https://api.openai.com/v1/chat/completions'
as error message.
This is the command that I use inside the repository that I want my readme:
readmeai -k "sk-*************************" -r . -b flat-square
(removed api key for obvious reasons)
@eli64sC'est toujours pareil malheureusement, j'ai mis à jour vers
0.4.999
.Mais je reçois en fait
'401 Unauthorized' for url 'https://api.openai.com/v1/chat/completions'
un message d'erreur. C'est la commande que j'utilise dans le référentiel dont je veux mon fichier readme :
readmeai -k "sk-*************************" -r . -b flat-square
(clé API supprimée pour des raisons évidentes)
same error: 401 try simple curl to the endpoint with my api key it's ok
When using the provided example command:
docker run -it \ -e OPENAI_API_KEY=xxx \ -v "$(pwd)":/app zeroxeli/readme-ai:latest \ -r https://github.com/eli64s/readme-ai
I keep getting this error:
ERROR HTTPStatus Exception: Client error '404 Not Found' for url 'https://api.openai.com/v1/chat/completions' For more information check: https://httpstatuses.com/404
Tried with both free and paid API key, as well as the PIP install and the docker one. All result in same error.