TheR1D / shell_gpt

A command-line productivity tool powered by AI large language models like GPT-4, will help you accomplish your tasks faster and more efficiently.
MIT License
9.43k stars 746 forks source link

Key is not pasting #450

Closed Asad-Ali-Baloch closed 8 months ago

Asad-Ali-Baloch commented 8 months ago

i have been try to past my API key in Shell-gpt but it's not pasting and i am try to write API key but i can't write it even a single letter so how can i use shell-gpt in my li Screencast from 2024-01-17 15-43-02.webm nux system. Screenshot from 2024-01-17 15-42-29

kyrbrbik commented 8 months ago

You can put the key in ~/.config/shell_gpt/.sgptrc

jrknox1977 commented 8 months ago

It's a password style field, so you won't see anything when you paste it.

TheR1D commented 8 months ago

As it was suggested, you can add your key in ~/.config/shell_gpt/.sgptrc. Or just export OPENAI_API_KEY="your OPENAI API key".