From 0c966fd5dc70050012235f5d8d7f392cf573d93f Mon Sep 17 00:00:00 2001 From: Saifeddine ALOUI Date: Thu, 9 May 2024 12:18:23 +0200 Subject: [PATCH] added current_language --- lollms/app.py | 1 + lollms/personality.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lollms/app.py b/lollms/app.py index 70ae597..1328c1a 100644 --- a/lollms/app.py +++ b/lollms/app.py @@ -986,6 +986,7 @@ class LollmsApplication(LoLLMsCom): "discussion_messages":discussion_messages, "positive_boost":positive_boost, "negative_boost":negative_boost, + "current_language":self.config.current_language, "fun_mode":fun_mode, "ai_prefix":ai_prefix } diff --git a/lollms/personality.py b/lollms/personality.py index 745d61c..656a91c 100644 --- a/lollms/personality.py +++ b/lollms/personality.py @@ -2089,7 +2089,7 @@ class APScript(StateMachine): - discussion_messages (str): The discussion messages information. - positive_boost (str): The positive boost information. - negative_boost (str): The negative boost information. - - force_language (str): The force language information. + - current_language (str): The force language information. - fun_mode (str): The fun mode conditionning text - ai_prefix (str): The AI prefix information. n_predict (int): The number of predictions to generate.