Replies: 4 comments 1 reply
-
|
Hey @paul — love this idea! Just shipped it in commit 40faac9. There's now a "Copy for LLM" button right next to "Export JSON" on every error detail page. It copies clean, structured markdown optimized for pasting into an LLM session. The output includes (conditionally — only sections with data):
All sensitive data stays filtered ( Will be in the next gem release. Thanks for the suggestion! |
Beta Was this translation helpful? Give feedback.
-
|
v0.5.7 is now on RubyGems with a much improved "Copy for LLM" output. The big addition: source code snippets — it now reads the actual Ruby code (±3 lines) around each crash location, so the LLM can see what the code does, not just file:line references. Also added: request params (pretty JSON), full system health snapshot, controller#action context. Removed noise that doesn't help LLMs debug (process-wide stats, workflow fields). Would love to hear how it works for your workflow — thanks again for the idea! |
Beta Was this translation helpful? Give feedback.
-
|
Just gave it a shot, pretty great! One nitpick, it looks like backticks and quotes are escaped in the output. The LLMs don't care one bit, though.
|
Beta Was this translation helpful? Give feedback.
-
|
Thanks for catching that @paul! Those escaped backticks were bugging me too once you pointed them out. Fixed in commit 8cbe0bf — the Also took the opportunity to strip Both will be in the next release. Thanks for sharing details like this — it's exactly the kind of feedback that makes the gem better for everyone. |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
There's several copy buttons all over for the error type, message, backtrace, etc. I was looking for a button to copy the all the relevant error details as markdown, so that I could paste it into an LLM session and have it investigate. I can download the JSON and paste that, and it works, but its noisy.
Something like:
Beta Was this translation helpful? Give feedback.
All reactions