Retrieve the Anthropics API key using 'auth-source'. #275
Replies: 3 comments 6 replies
-
@marcuskammer Thanks! Note that auth-source support for all backends is already provided by You can test this by setting the gptel backend to Anthropic, then running |
Beta Was this translation helpful? Give feedback.
-
Thank you, didnt know that. Mind you add this as an example to the docs, please? The docs are a bit misleading as it says:
So i was thinking i had to develop my own function. |
Beta Was this translation helpful? Give feedback.
-
I'm having trouble setting this up correctly. I have a
The following config works:
However, my impression from this discussion, and from looking at the package code, was that it should work without the |
Beta Was this translation helpful? Give feedback.
-
I wrote a function to retrieve the API secret for anthropics from auth source. Maybe you want to include it into your library?!
Beta Was this translation helpful? Give feedback.
All reactions