dustinblackman / oatmeal

Terminal UI to chat with large language models (LLM) using different model backends, and integrations with your favourite editors!
https://dustinblackman.com/posts/oatmeal/
MIT License
477 stars 23 forks source link

feature: Add gemini backend #52

Closed aislasq closed 5 months ago

aislasq commented 5 months ago

This is the implementation of the Gemini API.

I've been using for general questions outside neovim and it works well, I think it would greatly benefit from the custom system prompts.

aislasq commented 5 months ago

The lint is failing because my formatter is changing it on save, I am using rustfmt 1.6.0-stable (79e9716c 2023-11-13). Should I use a different one?

dustinblackman commented 5 months ago

The lint is failing because my formatter is changing it on save, I am using rustfmt 1.6.0-stable (79e9716c 2023-11-13). Should I use a different one?

The project is using a nightly version of rustfmt to gain access to other features I wanted. You can run cargo cmd lint-fix to fix everything before committing. If the command fails, you may need to take a look at the setup guide to get all the dependencies setup, otherwise I should have a devcontainer available tomorrow if that's a workflow you enjoy using. :)