Update all straight-installed packages as indicated below:
M-x straight-pull-all
Vale (https://vale.sh/) is an open source, command-line tool that brings your editorial style guide to life. Install Vale with package manager or download from Releases and place in your $PATH. Then, generate your configuration using https://vale.sh/generator and copy this in your ~/.vale.ini file.
Gptel (https://gptel.org/) is a simple Large Language Model chat client for Emacs, with support for many models and backends. It works in the spirit of Emacs, available at any time and uniformly in any buffer.
Create your ~/.authinfo or ~/.authinfo.pgp file according to Emacs auth-source and add the machine, login and password as show bellow:
machine api.openai.com login apikey password <your-openai-apikey>
machine aistudio.google.com login apikey password <your_gemini_apikey>
Create your API key in Google AI Studio and add an entry to your ~/.authinfo[.pgp] file using aistudio.google.com as the machine, apikey as login and as your password.
machine aistudio.google.com login apikey password <your_gemini_apikey>