I’m trying to implement WebLLM on a page in WeWeb to be able to use AI models locally.
I tried importing the npm package, but it seems to be published as ESM only, so I assume my only other option is loading WebLLM using a <script type="module">
somehow and importing it directly via URL using their CDN.
I tried doing this last option, but I’m having a lot of trouble with the imports, and I can’t get it to work. I’m pretty lost, tbh.