feat(google): added gemini api as provider #79
+122
−21
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What:
Adding support for the Gemini API.
Why:
Extra extensibility for LLMs.
How:
Fiddling around with the code to copy the implementation of the other LLMs.
Checklist:
Probably not ready to be merged. I made this implementation because I needed it for my personal project.
Therefore, my timeline is a bit rushed and I didn't write any tests (documentation was added where needed, but not a lot was needed).
I don't plan to add any tests or further documentation, only bug fixes. This pull request will likely require work on others' parts to be fully ingratiated with the codebase - but I figure it might be at least a little useful as it is now.
Sorry I could not contribute more. Thanks for the awesome library.
#78 (comment)