added current_language

This commit is contained in:
Saifeddine ALOUI 2024-05-09 12:18:23 +02:00
parent 6e828dda82
commit 0c966fd5dc
2 changed files with 2 additions and 1 deletions

View File

@ -986,6 +986,7 @@ class LollmsApplication(LoLLMsCom):
"discussion_messages":discussion_messages, "discussion_messages":discussion_messages,
"positive_boost":positive_boost, "positive_boost":positive_boost,
"negative_boost":negative_boost, "negative_boost":negative_boost,
"current_language":self.config.current_language,
"fun_mode":fun_mode, "fun_mode":fun_mode,
"ai_prefix":ai_prefix "ai_prefix":ai_prefix
} }

View File

@ -2089,7 +2089,7 @@ class APScript(StateMachine):
- discussion_messages (str): The discussion messages information. - discussion_messages (str): The discussion messages information.
- positive_boost (str): The positive boost information. - positive_boost (str): The positive boost information.
- negative_boost (str): The negative 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 - fun_mode (str): The fun mode conditionning text
- ai_prefix (str): The AI prefix information. - ai_prefix (str): The AI prefix information.
n_predict (int): The number of predictions to generate. n_predict (int): The number of predictions to generate.