matthiasgeihs
matthiasgeihs
Note that compilation works with `import ollama from 'ollama/dist/browser.cjs';`, but this is a hack and we shouldn't need to refer explicitly to the `dist` folder.
> Seems like the same issue as #104, but their fix was changing the module and moduleresolution Thanks for the pointer, @hopperelec. Turns out that `moduleResolution: NodeNext` *kind of* also...
> Any updates here? Not really. Using the "import from `ollama/dist`" hack as described above. ```ts // Explicit reference to `dist` needed because of packaging problem with `ollama/browser`. import ollama,...
The main problem I see here is that it risks delaying the seedless onboarding feature. I think we should apply these optimizations after the changes needed for seedless onboarding. Otherwise,...