Update personality.py

This commit is contained in:
Saifeddine ALOUI 2024-11-05 08:50:02 +01:00 committed by GitHub
parent 24f0218712
commit 40b9462479
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -735,7 +735,7 @@ class AIPersonality:
code +="\n"+ "\n".join(codes[-1]["content"].split("\n")[:-1])
else:
code +="\n"+ "\n".join(codes[-1]["content"].split("\n"))
max_continues += 1
nb_continues += 1
else:
code = codes[-1]["content"]