Re:Ollama is now powered by MLX on Apple Silicon in preview
by beepbooptheory on Tuesday March 31, 2026 @08:50AM
(#47586613)
What is the AI doing here? Or is this just like being cheeky?
[ Parent
| on HN ]
Re:Ollama is now powered by MLX on Apple Silicon in preview
by dgacmu on Tuesday March 31, 2026 @09:24AM
(#47587026)
The pile of shell and sed is cleaning up the ai output and then running it in the shell.
The instruction to the AI was to create _a_ shell command. So it's a random shell command generator (maybe).
Re:Ollama is now powered by MLX on Apple Silicon in preview
by corndoge on Tuesday March 31, 2026 @09:33AM
(#47587145)
that part is the system prompt, the script is a function that takes a prompt describing a shell command as an argument
Re:Ollama is now powered by MLX on Apple Silicon in preview
by beepbooptheory on Tuesday March 31, 2026 @09:54AM
(#47587442)
But it's gotta be just a joke right? Which is why all the examples are just classic things you do with bash/unix utilities?
I'll just say, if not a joke, the bit is appreciated either way!
"AI change to the home directory. Make it snappy!"