I honestly love everything about Cloudflare AI, **except** for their `ai-utils`. I spend a lot of ti

I honestly love everything about Cloudflare AI, except for their
ai-utils
. I spend a lot of time troubleshooting it, it tracks token usage wrong (returns only the last ones), calls
AI.run
more often than necessary, etc. See #Is module @cloudflare/ai-utils stable? > I just wrote the function calling in my own code, works way better, and doesn't inflict double usage consumption. And I'd recommend you to do so, too, tbh
Was this page helpful?