From 0ebc7955da67b488877cab7929019d40688fb3ed Mon Sep 17 00:00:00 2001 From: sigoden Date: Mon, 25 Mar 2024 11:13:54 +0800 Subject: refactor: improve creating config for openai-compatible client (#374) --- config.example.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'config.example.yaml') 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 -- cgit v1.2.3