Payload
What went into a tool call or came back, to be read exactly as written. Structured data is laid out a key to a line; the block scrolls, wraps, and colours through the host's highlighter via config.code_block.
Structured data
A Hash, an Array, or a string holding JSON.
AskedTook64ms
{
"query": "red lantern",
"shelf": "Props",
"limit": 20,
"filters": {
"animated": false
}
}<div class="mx-auto max-w-xl">
<%= ai_chat_payload({ query: "red lantern", shelf: "Props", limit: 20, filters: { animated: false } },
label: "Asked", duration: 0.064, copy: true) %>
</div>Text, long
Anything else stays text. It scrolls past a height and is reachable by keyboard.
Where it happened
app/models/chat.rb:7:in 'Chat#step_1' — https://example.com/a/very/long/path/that/keeps/going/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
app/models/chat.rb:14:in 'Chat#step_2' — https://example.com/a/very/long/path/that/keeps/going/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
app/models/chat.rb:21:in 'Chat#step_3' — https://example.com/a/very/long/path/that/keeps/going/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
app/models/chat.rb:28:in 'Chat#step_4' — https://example.com/a/very/long/path/that/keeps/going/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
app/models/chat.rb:35:in 'Chat#step_5' — https://example.com/a/very/long/path/that/keeps/going/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
app/models/chat.rb:42:in 'Chat#step_6' — https://example.com/a/very/long/path/that/keeps/going/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
app/models/chat.rb:49:in 'Chat#step_7' — https://example.com/a/very/long/path/that/keeps/going/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
app/models/chat.rb:56:in 'Chat#step_8' — https://example.com/a/very/long/path/that/keeps/going/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
app/models/chat.rb:63:in 'Chat#step_9' — https://example.com/a/very/long/path/that/keeps/going/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
app/models/chat.rb:70:in 'Chat#step_10' — https://example.com/a/very/long/path/that/keeps/going/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
app/models/chat.rb:77:in 'Chat#step_11' — https://example.com/a/very/long/path/that/keeps/going/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
app/models/chat.rb:84:in 'Chat#step_12' — https://example.com/a/very/long/path/that/keeps/going/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
app/models/chat.rb:91:in 'Chat#step_13' — https://example.com/a/very/long/path/that/keeps/going/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
app/models/chat.rb:98:in 'Chat#step_14' — https://example.com/a/very/long/path/that/keeps/going/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
app/models/chat.rb:105:in 'Chat#step_15' — https://example.com/a/very/long/path/that/keeps/going/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
app/models/chat.rb:112:in 'Chat#step_16' — https://example.com/a/very/long/path/that/keeps/going/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
app/models/chat.rb:119:in 'Chat#step_17' — https://example.com/a/very/long/path/that/keeps/going/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
app/models/chat.rb:126:in 'Chat#step_18' — https://example.com/a/very/long/path/that/keeps/going/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
app/models/chat.rb:133:in 'Chat#step_19' — https://example.com/a/very/long/path/that/keeps/going/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
app/models/chat.rb:140:in 'Chat#step_20' — https://example.com/a/very/long/path/that/keeps/going/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
app/models/chat.rb:147:in 'Chat#step_21' — https://example.com/a/very/long/path/that/keeps/going/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
app/models/chat.rb:154:in 'Chat#step_22' — https://example.com/a/very/long/path/that/keeps/going/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
app/models/chat.rb:161:in 'Chat#step_23' — https://example.com/a/very/long/path/that/keeps/going/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
app/models/chat.rb:168:in 'Chat#step_24' — https://example.com/a/very/long/path/that/keeps/going/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
app/models/chat.rb:175:in 'Chat#step_25' — https://example.com/a/very/long/path/that/keeps/going/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
app/models/chat.rb:182:in 'Chat#step_26' — https://example.com/a/very/long/path/that/keeps/going/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
app/models/chat.rb:189:in 'Chat#step_27' — https://example.com/a/very/long/path/that/keeps/going/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
app/models/chat.rb:196:in 'Chat#step_28' — https://example.com/a/very/long/path/that/keeps/going/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
app/models/chat.rb:203:in 'Chat#step_29' — https://example.com/a/very/long/path/that/keeps/going/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
app/models/chat.rb:210:in 'Chat#step_30' — https://example.com/a/very/long/path/that/keeps/going/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
app/models/chat.rb:217:in 'Chat#step_31' — https://example.com/a/very/long/path/that/keeps/going/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
app/models/chat.rb:224:in 'Chat#step_32' — https://example.com/a/very/long/path/that/keeps/going/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
app/models/chat.rb:231:in 'Chat#step_33' — https://example.com/a/very/long/path/that/keeps/going/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
app/models/chat.rb:238:in 'Chat#step_34' — https://example.com/a/very/long/path/that/keeps/going/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
app/models/chat.rb:245:in 'Chat#step_35' — https://example.com/a/very/long/path/that/keeps/going/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
app/models/chat.rb:252:in 'Chat#step_36' — https://example.com/a/very/long/path/that/keeps/going/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
app/models/chat.rb:259:in 'Chat#step_37' — https://example.com/a/very/long/path/that/keeps/going/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
app/models/chat.rb:266:in 'Chat#step_38' — https://example.com/a/very/long/path/that/keeps/going/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
app/models/chat.rb:273:in 'Chat#step_39' — https://example.com/a/very/long/path/that/keeps/going/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
app/models/chat.rb:280:in 'Chat#step_40' — https://example.com/a/very/long/path/that/keeps/going/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx<div class="mx-auto max-w-xl">
<%= ai_chat_payload((1..40).map { |n| "app/models/chat.rb:#{n * 7}:in 'Chat#step_#{n}' — https://example.com/a/very/long/path/that/keeps/going/#{"x" * 40}" }.join("\n"),
label: "Where it happened", language: :plaintext) %>
</div>