You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the get started example, there's a reference to webLLMGlobal in the get_started.html file. I also see it in the streaming example (streaming.html).
What does this code block / variable do?
<script>
webLLMGlobal = {};
</script>
Trying to determine if it's a global reference to the engine and if it's set by webllm when the engine is created or if it's something else. I don't see it being referenced in the code within those examples so wasn't sure of its purpose.
I belive this may be a legacy code that is no longer needed, cc @CharlieFRuan@Neet-Nestor . let us cross check and confirm, if it is not needed, we should remove from our example
In the get started example, there's a reference to webLLMGlobal in the get_started.html file. I also see it in the streaming example (streaming.html).
What does this code block / variable do?
Trying to determine if it's a global reference to the engine and if it's set by webllm when the engine is created or if it's something else. I don't see it being referenced in the code within those examples so wasn't sure of its purpose.
Appreciate any insight and guidance. Thanks!
Reference: https://github.com/mlc-ai/web-llm/blob/main/examples/get-started/src/get_started.html
The text was updated successfully, but these errors were encountered: