summaryrefslogtreecommitdiffstats
path: root/config.example.yaml
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2024-04-28 13:54:51 +0800
committerGitHub <noreply@github.com>2024-04-28 13:54:51 +0800
commit7bda1eace29dde7c1c7ce5e8ab4bc911cfb90c3f (patch)
tree7127d1fe88282c79650fdd6e9c90c05f50e3dc37 /config.example.yaml
parent338b0438dc34280f31cd7642a3da4f565490c749 (diff)
downloadaichat-7bda1eace29dde7c1c7ce5e8ab4bc911cfb90c3f.tar.gz
refactor: rename ollama config field api_key => api_auth (#453)
Diffstat (limited to 'config.example.yaml')
-rw-r--r--config.example.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/config.example.yaml b/config.example.yaml
index a0c6da8..e0a4689 100644
--- a/config.example.yaml
+++ b/config.example.yaml
@@ -78,7 +78,7 @@ clients:
name: localai
api_base: http://localhost:8080/v1
api_key: sk-xxx # ENV: {client_name}_API_BASE
- chat_endpoint: /chat/completions
+ chat_endpoint: /chat/completions # Optional
models:
- name: llama3
max_input_tokens: 8192
@@ -86,7 +86,7 @@ clients:
# See https://github.com/jmorganca/ollama
- type: ollama
api_base: http://localhost:11434
- api_key: Basic xxx # Set authorization header, ENV: {client_name}_API_BASE
+ api_auth: Basic xxx # ENV: {client_name}_API_AUTH
chat_endpoint: /api/chat # Optional
models:
- name: llama3