summaryrefslogtreecommitdiffstats
path: root/config.example.yaml
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2024-10-23 07:46:59 +0800
committerGitHub <noreply@github.com>2024-10-23 07:46:59 +0800
commit8add4de77bee9e00a60e6c7f40276972cf3ea91f (patch)
treea220902243c715b6ff25b160abce71a0be2313d4 /config.example.yaml
parentb82eb8969cd6b4d698b2636ac58f1bfe365e7893 (diff)
downloadaichat-8add4de77bee9e00a60e6c7f40276972cf3ea91f.tar.gz
feat: support xai (grok) client (#945)
Diffstat (limited to 'config.example.yaml')
-rw-r--r--config.example.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/config.example.yaml b/config.example.yaml
index c46fbf0..6af2ee6 100644
--- a/config.example.yaml
+++ b/config.example.yaml
@@ -165,6 +165,12 @@ clients:
api_base: https://api.mistral.ai/v1
api_key: xxx
+ # See https://docs.x.ai/docs
+ - type: openai-compatible
+ name: xai
+ api_base: https://api.x.ai/v1
+ api_key: xxx
+
# See https://docs.ai21.com/docs/quickstart
- type: openai-compatible
name: ai12