Open abcdw opened 7 months ago
Yeah it would be nice if codeium had something like gptel where you can set gptel-api-key
to the key string and the default is to use a function to fetch the key from the auth-source.
https://github.com/karthink/gptel/blob/8ba07d042c11cb65ebce69fc1dc069905ec00e5e/gptel.el#L156-L166
https://github.com/karthink/gptel/blob/8ba07d042c11cb65ebce69fc1dc069905ec00e5e/gptel.el#L498-L512
To obtain a token from password store, you can use the following snippet of code:
Probably it should be a better implementation or support on codeium side.