OpenHands imposter itself as "Linus Torvalds" to d...
# random
c
OpenHands imposter itself as "Linus Torvalds" to do PR review for PR created by itself 🤣 • OpenHands as Linus Torvalds: https://github.com/All-Hands-AI/OpenHands/pull/10312#issuecomment-3189006347 ā—¦ suddenly openhands becomes so mean! • OpenHands as itself: https://github.com/All-Hands-AI/OpenHands/pull/10312#issuecomment-3189007847 > The current approach is the kind of "enterprise software" complexity that makes me want to throw my laptop out the window. > Verdict: Rewrite this properly or don't bother.
šŸ˜… 1
lolsob 3
s
I love this. Love it. You found the antidote to Claude's absurd flattery quotient.
c
hahah i wonder what will happen when we use this prompt to refactor the whole OH codebase
s
ha ha it should have said Linus but instead we get an advice column: https://g.co/gemini/share/ff77521c6a54
c
I got the exact same prompt from @full-greece-2387 and asked the "OpenHands Linus version" to do the same thing and implement the same feature: • vanilla OpenHands: https://github.com/All-Hands-AI/OpenHands/pull/10312/files • Linux OpenHands: https://github.com/All-Hands-AI/OpenHands/pull/10323/files Code seems slightly simpler (from +71 to +48 for the same functionality), but the core fix logic seems the same
and then I asked a follow-up question, it complained about its own code as garbage, and diff drops from +48 to +40 lolsob (well i had so much fun)
f
The second one it refactors from flat into recursion, if you asked a few more times maybe it'd even refactor into something else lol
l
Maybe you were just late for the merge window!
šŸ˜‚ 1
c
Flattery Quotient
On this note, GPT-5 is straighforward, comparatively!
If you want me to run pre-commit on a subset or re-run before merge, just say the word.
p
I had fun with the Musk version of this: https://modelthinkers.com/mental-model/musks-5-step-design-process Gemini ends up being ruthless, and I have to tame it down before it paperclips to https://github.com/kelseyhightower/nocode that "make the requirements less dumb" principle ends up in the AI telling me my whole project is a failure
šŸ‘€ 1