diff options
| author | sigoden <sigoden@gmail.com> | 2024-04-28 13:54:51 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-28 13:54:51 +0800 |
| commit | 7bda1eace29dde7c1c7ce5e8ab4bc911cfb90c3f (patch) | |
| tree | 7127d1fe88282c79650fdd6e9c90c05f50e3dc37 /config.example.yaml | |
| parent | 338b0438dc34280f31cd7642a3da4f565490c749 (diff) | |
| download | aichat-7bda1eace29dde7c1c7ce5e8ab4bc911cfb90c3f.tar.gz | |
refactor: rename ollama config field api_key => api_auth (#453)
Diffstat (limited to 'config.example.yaml')
| -rw-r--r-- | config.example.yaml | 4 |
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 |
