Update __init__.py

This commit is contained in:
Saifeddine ALOUI 2023-11-08 20:20:24 +01:00 committed by GitHub
parent 92139bde28
commit 5f67de4868
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1055,7 +1055,7 @@ class LoLLMsAPPI(LollmsApplication):
if 0 <= index < len(mounted_extensions):
mounted_extensions.pop(index)
self.config["personalities"].pop(index)
ASCIIColors.info(f"removed personality {personality_path}")
ASCIIColors.info(f"removed personality {extension_path}")
if self.config["active_personality_id"]>=len(self.config["personalities"]):
self.config["active_personality_id"]=0