From eec041c111c0ee170dab65942184e66c41479fcd Mon Sep 17 00:00:00 2001 From: sigoden Date: Mon, 25 Mar 2024 10:52:05 +0800 Subject: feat: rename client localai to openai-compatible (#373) BREAKING CHANGE: rename client localai to openai-compatible --- config.example.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'config.example.yaml') 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 -- cgit v1.2.3