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

pull/784/head
春河晴 2025-04-17 15:20:33 +09:00
parent 51af1ef4ce
commit be6699340a
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

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