Skip to content

Conversation

@liamkerr
Copy link

@liamkerr liamkerr commented Jan 7, 2024

This PR fixes a bug with how the prompt template is saved when using Adetailer: #703

I'm not sure why Adetailer does this, but after it processes an image, it calls the process() function of dynamic-prompts a second time and, during this second execution, dynamic-prompts overwrites its template metadata with a prompt value that no longer contains template information.

So this PR just makes sure not to overwrite the template metadata after it's written correctly the first time.

@bluelovers
Copy link

#790

@Tom2112
Copy link

Tom2112 commented Sep 29, 2025

Thank you for this fix! The issue has been plaguing me for about a year now and driving me crazy!!!! I really hope the author will push out this change.

THANK YOU!

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.

3 participants