Lock up configuration during prompt manager render

This commit is contained in:
maver
2023-08-16 19:01:09 +02:00
parent 07be5588f4
commit 947289dffc
2 changed files with 21 additions and 8 deletions

View File

@ -1400,7 +1400,7 @@ class Message {
this.content = content;
if (this.content) {
this.tokens = tokenHandler.count({ role: this.role, content: this.content })
this.tokens = tokenHandler.count({ role: this.role, content: this.content });
} else {
this.tokens = 0;
}