| // public/worker.js | |
| import { WebWorkerMLCEngine } from "@mlc-ai/web-llm"; | |
| // This is the entry point for the WebWorker that runs the LLM | |
| const engine = new WebWorkerMLCEngine(); | |
| // public/worker.js | |
| import { WebWorkerMLCEngine } from "@mlc-ai/web-llm"; | |
| // This is the entry point for the WebWorker that runs the LLM | |
| const engine = new WebWorkerMLCEngine(); | |