Skip to content

Instantly share code, notes, and snippets.

@tensiondriven
Created February 19, 2026 00:48
Show Gist options
  • Select an option

  • Save tensiondriven/396c6c245636fa61ca38e8f817ff932f to your computer and use it in GitHub Desktop.

Select an option

Save tensiondriven/396c6c245636fa61ca38e8f817ff932f to your computer and use it in GitHub Desktop.
How LLM's think through code on Feb 18 2028
⏺ The nested quoting is a nightmare through pct exec
+ ssh. Let me write the script on the LXC directly.
⏺ It's imported. Let me find the actual chat send
logic — it's probably in a separate module.
⏺ I don't see a chat.send — how does the chat
actually send messages? Let me look for the
submit/send button handler.
⏺ The file is minified in a way that cuts off. Let me
get the raw version.
⏺ Found it. The method is chat.send and the params
come from buildChatMessage. Let me find that
function.
⏺ So chat.send takes {text: "...", _seq: N}. Now let
me also understand the response format. Let me
update my script — the issue earlier was likely
that I wasn't reading the handshake response
properly (maybe it comes as multiple frames).
⏺ Also need to fix the id comparison checks:
⏺ Update(/tmp/moltis_chat2.py)
⎿  Added 1 line, removed 1 line
123 - if frame.get("type") == "re
-s" and frame.get("id") == 1:
123 + if frame.get("type") == "re
+s" and frame.get("id") == "1":
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment