From c3d7f89fdbf736bb29aa5a0c0aef2e5dacff1f62 Mon Sep 17 00:00:00 2001 From: Saifeddine ALOUI Date: Mon, 25 Nov 2024 15:03:49 +0100 Subject: [PATCH] Update lollms_client_js.js --- endpoints/libraries/lollms_client_js.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/endpoints/libraries/lollms_client_js.js b/endpoints/libraries/lollms_client_js.js index eec29104..c01f1fd3 100644 --- a/endpoints/libraries/lollms_client_js.js +++ b/endpoints/libraries/lollms_client_js.js @@ -148,6 +148,10 @@ class LollmsClient { console.log(output.data.text) return output.data.text } +cancel_generation() { + // TODO: implement +} + generate(prompt, { n_predict = null, stream = false,