Closed OvidijusParsiunas closed 5 months ago
This can be fixed by importing the module dynamically instead using the following syntax:
if (typeof window !== 'undefined') {
import('deep-chat-web-llm').then((module) => {
window.webLLM = module;
});
}
When using the
webModel
property and attempting to add thedeep-chat-web-llm
module, the console displays the following error: