mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 09:44:59 +00:00
Broke apart llms
This commit is contained in:
parent
65f80e965f
commit
c5e127d6fa
15 changed files with 444 additions and 384 deletions
25
website/docs/llms/gemini.md
Normal file
25
website/docs/llms/gemini.md
Normal file
|
@ -0,0 +1,25 @@
|
|||
---
|
||||
parent: Connecting to LLMs
|
||||
nav_order: 300
|
||||
---
|
||||
|
||||
# Gemini
|
||||
|
||||
Google currently offers
|
||||
[*free* API access to the Gemini 1.5 Pro model](https://ai.google.dev/pricing).
|
||||
This is the most capable free model to use with aider,
|
||||
with code editing capability that's comparable to GPT-3.5.
|
||||
You'll need a [Gemini API key](https://aistudio.google.com/app/u/2/apikey).
|
||||
|
||||
```
|
||||
pip install aider-chat
|
||||
|
||||
export GEMINI_API_KEY=<key> # Mac/Linux
|
||||
setx GEMINI_API_KEY <key> # Windows
|
||||
|
||||
aider --model gemini/gemini-1.5-pro-latest
|
||||
|
||||
# List models available from Gemini
|
||||
aider --models gemini/
|
||||
```
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue