From 60f71383ca0a048f386bc9e436dc8ed1f899efc0 Mon Sep 17 00:00:00 2001 From: Nate Sesti Date: Fri, 19 Jul 2024 14:43:44 -0700 Subject: [PATCH] fix completions support in ContinueProxy --- core/llm/llms/stubs/ContinueProxy.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/llm/llms/stubs/ContinueProxy.ts b/core/llm/llms/stubs/ContinueProxy.ts index 850ac7410..99eba5f73 100644 --- a/core/llm/llms/stubs/ContinueProxy.ts +++ b/core/llm/llms/stubs/ContinueProxy.ts @@ -21,6 +21,10 @@ class ContinueProxy extends OpenAI { useLegacyCompletionsEndpoint: false, }; + supportsCompletions(): boolean { + return false; + } + supportsFim(): boolean { return true; }