File tree Expand file tree Collapse file tree 3 files changed +11
-3
lines changed Expand file tree Collapse file tree 3 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 20
20
"role" : " assistant" ,
21
21
"content" : " [CONTENT] We're alone now. [END]"
22
22
}
23
- ]
23
+ ],
24
+ "bodies" : {
25
+ "explain" : " (used when {{char}} is explaining something)" ,
26
+ "relaxed" : " ({{char}}'s default body position)" ,
27
+ "excited" : " (used when {{char}} is excited)"
28
+ }
24
29
}
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ define gui.show_name = False
12
12
13
13
14
14
15
- define config.version = " 1.1.1 -demo"
15
+ define config.version = " 1.1.2 -demo"
16
16
17
17
18
18
Original file line number Diff line number Diff line change @@ -98,11 +98,14 @@ init python:
98
98
name = name.title()
99
99
raw_bodies = [b for b in self .characters[name][" left" ]] + [b for b in self .characters[name][" right" ]]
100
100
bodies = []
101
+ body_examples = []
101
102
for part in raw_bodies:
102
103
if part not in bodies:
104
+ example = Info().getReminder[" bodies" ][part].replace(" {{ char}}" , name)
103
105
bodies.append(part)
106
+ body_examples.append(part + example)
104
107
105
- string = " and " .join(bodies )
108
+ string = " and " .join(body_examples )
106
109
return string
107
110
108
111
You can’t perform that action at this time.
0 commit comments