upgraded personality

This commit is contained in:
Saifeddine ALOUI 2024-06-24 01:05:41 +02:00
parent 26a3ff35ac
commit 8888ded2d4
2 changed files with 3 additions and 3 deletions

View File

@ -2515,8 +2515,8 @@ class APScript(StateMachine):
self.ai_custom_header(context_details["ai_prefix"])
]))
return self.build_prompt(full_context,
sacrifice_id)
return self.build_prompt(full_context, sacrifice_id)
def build_prompt(self, prompt_parts:List[str], sacrifice_id:int=-1, context_size:int=None, minimum_spare_context_size:int=None):
"""
Builds the prompt for code generation.

View File

@ -26,7 +26,7 @@ def get_all_files(path):
setuptools.setup(
name="lollms",
version="9.5.0",
version="9.5.1",
author="Saifeddine ALOUI (ParisNeo)",
author_email="parisneo_ai@gmail.com",
description="A python library for AI personality definition",