karthink / gptel

A simple LLM client for Emacs
GNU General Public License v3.0
1.04k stars 113 forks source link

Add Gemini backend support #151

Closed mrdylanyin closed 6 months ago

mrdylanyin commented 6 months ago

149

karthink commented 6 months ago

This is lovely! Thank you for your work. I squashed your commits, worked on it a bit and pushed to master. I'm not sure why Github doesn't recognize the PR as approved. Here's your commit, you should be listed in the contributors.

I added streaming (Google sends slower, bigger chunks of data than ChatGPT so it's not a huge improvement over the non-streaming API), support for temperature and max_tokens, and simplified the user configuration.