mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 10:14:59 +00:00
copy
This commit is contained in:
parent
ab5a8b24a5
commit
20ab5f9326
1 changed files with 24 additions and 0 deletions
24
aider/website/docs/llms/xai.md
Normal file
24
aider/website/docs/llms/xai.md
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
---
|
||||||
|
parent: Connecting to LLMs
|
||||||
|
nav_order: 400
|
||||||
|
---
|
||||||
|
|
||||||
|
# xAI
|
||||||
|
|
||||||
|
You'll need a [xAI API key](https://console.x.ai.).
|
||||||
|
|
||||||
|
To use xAI:
|
||||||
|
|
||||||
|
```
|
||||||
|
python -m pip install -U aider-chat
|
||||||
|
|
||||||
|
export XAI_API_KEY=<key> # Mac/Linux
|
||||||
|
setx XAI_API_KEY <key> # Windows, restart shell after setx
|
||||||
|
|
||||||
|
aider --model xai/groq-beta
|
||||||
|
|
||||||
|
# List models available from xAI
|
||||||
|
aider --list-models groq/
|
||||||
|
```
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue