fix: 修正identity_detail的引用以确保正确处理身份细节

This commit is contained in:
春河晴
2025-04-17 15:20:33 +09:00
parent 51af1ef4ce
commit be6699340a

View File

@@ -102,7 +102,7 @@ class Identity:
random.shuffle(identity_detail)
prompt_identity += identity_detail[0]
elif level == 2:
for detail in identity_detail:
for detail in self.identity_detail:
prompt_identity += f",{detail}"
prompt_identity += ""
return prompt_identity