diff options
| author | sigoden <sigoden@gmail.com> | 2024-03-25 11:13:54 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-25 11:13:54 +0800 |
| commit | 0ebc7955da67b488877cab7929019d40688fb3ed (patch) | |
| tree | e08d1c71a3f12a3470e9518af8828e3d2da40b82 /config.example.yaml | |
| parent | eec041c111c0ee170dab65942184e66c41479fcd (diff) | |
| download | aichat-0ebc7955da67b488877cab7929019d40688fb3ed.tar.gz | |
refactor: improve creating config for openai-compatible client (#374)
Diffstat (limited to 'config.example.yaml')
| -rw-r--r-- | config.example.yaml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config.example.yaml b/config.example.yaml index b7ce1d9..f61fe8e 100644 --- a/config.example.yaml +++ b/config.example.yaml @@ -46,7 +46,8 @@ clients: api_key: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # Any openai-compatible API providers - - type: openai-compatible # Renamed from localai + - type: openai-compatible + name: localai api_base: http://localhost:8080/v1 api_key: sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx chat_endpoint: /chat/completions # Optional field |
