Skip to content

Fix metadata template issue when using Adetailer#705

Open
liamkerr wants to merge 1 commit into
adieyal:mainfrom
liamkerr:dont-overwrite-template
Open

Fix metadata template issue when using Adetailer#705
liamkerr wants to merge 1 commit into
adieyal:mainfrom
liamkerr:dont-overwrite-template

Conversation

@liamkerr

@liamkerr liamkerr commented Jan 7, 2024

Copy link
Copy Markdown

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
Copy Markdown

#790

@Tom2112

Tom2112 commented Sep 29, 2025

Copy link
Copy Markdown

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