How AI tool calling works (40 lines of vanilla JavaScript)
Thread
Unofficial Hacker News client; not affiliated with Y Combinator.
How AI tool calling works (40 lines of vanilla JavaScript)
Unofficial Hacker News client; not affiliated with Y Combinator.
stratos123 · · focus · HN ↗
It also spends an entire section trying to convey that large tools waste tokens:
but surely that's wrong - it's part of the same conversation, it only gets processed once and then cached. Otherwise doing long conversations would always cost an amount quadratic with length.stephenblum · · focus · HN ↗