Bug in selfie generation #399
Closed
dr0wningfly
started this conversation in
General
Replies: 1 comment
|
We strengthened the regex in the upcoming version; selfies should now be generated even if the model messes up the prompt format. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Selfies are failing to generate most of the time for me, with the bracketed selfie text to staying visible in chat instead of triggering image generation.
Got co-pilot to successfully fix this locally for me.
Updated character-commands.ts
made SELFIE_RE accept:
[selfie]
[selfie: context="..."]
[selfie: ...] freeform text
now captures plain freeform selfie text as context and strips it from visible chat output
Added regression tests in character-commands.test.ts
covers both freeform [selfie: Mari looking flustered ...]
and explicit context="..." syntax
All reactions