Skip to content

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