Closed marcuskammer closed 3 months ago
@marcuskammer Thanks!
Note that auth-source support for all backends is already provided by gptel-api-key-from-auth-source
, which is the default value of gptel-api-key
, so get-anthropic-key
should not be required.
You can test this by setting the gptel backend to Anthropic, then running (gptel-api-key-from-auth-source)
. It should return the key.
I wrote a function to retrieve the API secret for anthropics from auth source. Maybe you want to include it into your library?!