-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot load api key from ~\.authinfo #418
Comments
What happens if you run |
if: No ‘gptel-api-key’ found in the auth source
…On Mon, Oct 14, 2024 at 11:46 PM karthink ***@***.***> wrote:
What happens if you run (gptel-api-key-from-auth-source)? Does it return
the key?
—
Reply to this email directly, view it on GitHub
<#418 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABTX3RH4G5HLL6XMKIN5LW3Z3Q3TLAVCNFSM6AAAAABP2RWRECVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJSGM4TGNBTHE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I suppose the problem is that your |
@tsoernes
OR You can write your own function that looks up the right key in your authinfo and use that in place of |
im not sure If I should answer here but I have the same Issue except with ChatGPT. Do you use windows? It doesnt find the file in windows but within WSL2 it works with just the same config and .authinfo file. Seems to be a path issue on my side. It works on both systems if I use the following approach:
|
@tsoernes Does my above reply work for you? |
I have this config in doom emacs
Is this correct?
Cause I have the file
~/.authinfo
withBut I'm asked for a GPT API key every time I open
gptel
.The text was updated successfully, but these errors were encountered: