Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix to be compatible with other extensions(e.g. Dynamic prompt) #46

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

HyeongminMoon
Copy link

fix to use the result prompt by other Extensions(e.g. Dynamic prompt).

I found current ddetailer implementation uses original prompt.

For example, if I use dynamic prompt syntax "a girl with {hat|sunglasses|ear rings|}"

  • Current implementation gets "a girl with {hat|sunglasses|ear rings|}"

I fixed this to use the result prompt after applying other extensions

  • Fixed implementation gets "a girl with hat" correctly.

I think this will work for any other extensions too.

Also, I appiled this implemetation to metadata as well.
image

However webui api gets only one 'info', so you will see original prompt on webui. (Don't worry, metadata is well applied like above)
image

@HyeongminMoon
Copy link
Author

Of course it also works well with dynamic prompt wildcards :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant