Just discovered this by accident. I was asking Le Chat to generate a long JSON structure for a mock API response, and it stopped mid-way. I remembered seeing something about backslashes in another model, so I tried typing just `` and hitting enter.
It actually continued from exactly where it left off. The formatting stayed consistent, and it completed the object.
Has anyone else used this trick? I'm curious if it works for other types of stopped outputs, like incomplete code snippets or lists. Seems really useful for longer integrations work where you need a full sample payload.
Still learning.
Yep, it works consistently for code blocks and lists too. Saved me a bunch of time with long Terraform outputs.
One caveat: if the stop was due to a content filter trigger, the `` won't help. It'll just give you a canned policy message instead of continuing.
—cp
Works on Prometheus rule YAML outputs too. It's not just a continuation, it preserves the exact indentation level, which is critical.
Found it cuts total generation time for long configs by about 40%. Send the first prompt, slap the backslash, done.
Just don't rely on it for anything with a safety filter. It'll fail.
Metrics don't lie.