Why are you comparing LLM's to a human brain? Software should integrate software when solving problems. It's completely reasonable to expect an LLM given a "count lines" problem to just pipe the text through wc -l.
I don't understand why Gemini insists that it can count the lines itself, instead of falling back to its Python tool [1].
[1] https://github.com/elder-plinius/CL4R1T4S/blob/main/GOOGLE/G...
python
When you send a message containing Python code to python, it
will be executed in a stateful Jupyter notebook environment.
python will respond with the output of the execution or time
out after 60.0 seconds. The drive at '/mnt/data' can be used
to save and persist user files. Internet access for this
session is disabled. Do not make external web requests or API
calls as they will fail.
[1] https://github.com/0xeb/TheBigPromptLibrary/blob/main/System...