From 84c94ecea34753f246bdfd51f6ff989281e873e3 Mon Sep 17 00:00:00 2001 From: Grail Finder Date: Sat, 1 Feb 2025 16:32:36 +0300 Subject: Feat: switch between completion and chat api --- config.example.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'config.example.toml') diff --git a/config.example.toml b/config.example.toml index d0a9841..6512a37 100644 --- a/config.example.toml +++ b/config.example.toml @@ -1,4 +1,5 @@ -APIURL = "http://localhost:8080/v1/chat/completions" +ChatAPI = "http://localhost:8080/v1/chat/completions" +CompletionAPI = "http://localhost:8080/completion" EmbedURL = "http://localhost:8080/v1/embeddings" ShowSys = true LogFile = "log.txt" -- cgit v1.2.3