summaryrefslogtreecommitdiffstats
path: root/config.example.yaml
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2024-03-25 10:52:05 +0800
committerGitHub <noreply@github.com>2024-03-25 10:52:05 +0800
commiteec041c111c0ee170dab65942184e66c41479fcd (patch)
tree0e048d834fd2ae66ecd9f9c47aa7e9d21250e63e /config.example.yaml
parentbbd0c287261f8876d8c66a4e8015f5a0d8ce6548 (diff)
downloadaichat-eec041c111c0ee170dab65942184e66c41479fcd.tar.gz
feat: rename client localai to openai-compatible (#373)
BREAKING CHANGE: rename client localai to openai-compatible
Diffstat (limited to 'config.example.yaml')
-rw-r--r--config.example.yaml10
1 files changed, 5 insertions, 5 deletions
diff --git a/config.example.yaml b/config.example.yaml
index 8f8e22a..b7ce1d9 100644
--- a/config.example.yaml
+++ b/config.example.yaml
@@ -40,15 +40,15 @@ clients:
# See https://docs.anthropic.com/claude/reference/getting-started-with-the-api
- type: claude
- api_key: sk-xxx
+ api_key: sk-ant-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
- type: mistral
api_key: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
- # Any openai-compatible API providers or https://github.com/go-skynet/LocalAI
- - type: localai
+ # Any openai-compatible API providers
+ - type: openai-compatible # Renamed from localai
api_base: http://localhost:8080/v1
- api_key: xxx
+ api_key: sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
chat_endpoint: /chat/completions # Optional field
models:
- name: llama2
@@ -95,4 +95,4 @@ clients:
# See https://platform.moonshot.cn/docs/intro
- type: moonshot
- api_key: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx \ No newline at end of file
+ api_key: sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx \ No newline at end of file