From 20ab5f932616ed3070c3e8101b37059a2e857319 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Tue, 19 Nov 2024 06:52:15 -0800 Subject: [PATCH] copy --- aider/website/docs/llms/xai.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 aider/website/docs/llms/xai.md diff --git a/aider/website/docs/llms/xai.md b/aider/website/docs/llms/xai.md new file mode 100644 index 00000000000..4870e2247a2 --- /dev/null +++ b/aider/website/docs/llms/xai.md @@ -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= # Mac/Linux +setx XAI_API_KEY # Windows, restart shell after setx + +aider --model xai/groq-beta + +# List models available from xAI +aider --list-models groq/ +``` + +