Closed barryridge closed 1 year ago
Note the use of GNU Pass to retrieve the OpenAI API key and assign it to an environment variable as required by chatgpt-wrapper
. This could be done in other ways of course, e.g. by querying .authinfo.gpg
.
Is this working for folks? If so, why not merge it?
Fix for #38. Related: #42. Builds on #46.
Allow user to set
chatgpt-backend
andchatgpt-model
variables to change the backend and model respectively used bychatgpt-wrapper
.Sample Doom Emacs config:
Possible values for
chatgpt-backend
:chatgpt-browser
,chatgpt-api
.Possible values for
chatgpt-model
when usingchatgpt-browser
backend:default
,legacy-paid
,legacy-free
,gpt4
.Possible values for
chatgpt-model
when usingchatgpt-api
backend:default
,turbo
,turbo-0301
,gpt4
,gpt4-0314
,gpt4-32k
,gpt4-32k-0314
.These are based on the values specified in constants.py from
chatgpt-wrapper
.