Skip to content

Multi-character chat {{char}} placeholders all refer to main character instead of the correct characters #1108

@rankcody

Description

@rankcody

Describe the bug
When having a group chat with multiple characters, any {{char}} placeholders in the characters' definitions will refer to the main character's name, even if the {{char}} placeholder is being used in a different character. So, if I have a chat with Alice, Bob, and Charlie, any {{char}} placeholders in Bob or Charlie will erroneously refer to Alice.

To Reproduce
Steps to reproduce the behavior:

  1. Make group chat with multiple characters.
  2. Check prompt preview to see that any {{char}} placeholders in the character definitions all refer to the main character instead of the correct characters.

Expected behavior
{{char}} placeholders should refer to the card that they're used in, not the main character.

Screenshots
Screenshot. In this image, the bottom character is supposed to be Hu Tao, but all the {{char}} placeholders refer to Repulza, the main character.

Desktop (please complete the following information):

  • OS: ChromeOS
  • Browser: Chrome
  • Version 124.0.6367.225 (Official Build) (64-bit)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions