Skip to content

Commit

Permalink
- upgrade "@mlc-ai/web-llm": to "0.2.73
Browse files Browse the repository at this point in the history
- add additional Hugging Face CDN
  • Loading branch information
t83714 committed Oct 25, 2024
1 parent 0147f8f commit 69205b1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "magda-llm-service-worker-extension",
"version": "1.0.1",
"version": "1.0.2",
"description": "A Google chrome extension runs LLM in extension background service worker to support Magda frontend chatbot",
"private": true,
"scripts": {
Expand All @@ -20,6 +20,6 @@
"url": "^0.11.1"
},
"dependencies": {
"@mlc-ai/web-llm": "0.2.62"
"@mlc-ai/web-llm": "0.2.73"
}
}
4 changes: 2 additions & 2 deletions src/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"manifest_version": 3,
"name": "Magda LLM Service Worker",
"version": "1.0.1",
"version": "1.0.2",
"description": "Running LLM with the service worker to support Magda web application chatbot.",
"homepage_url": "https://github.com/magda-io/magda-llm-service-worker-extension",
"key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA3KRtpIMkfABCtDsbJo/IMpRRY9eNd528mDcWeUQBynSXSaKLmQ4ZnYbW0KkdfjwBkbb9CByWhmi2YjMdsXpI1wCtJYbn4Xz8bOdBR6p9GR50jjT81IhfQ5PydvIQepDUka8asy5uYRpS0umJ813JHhuftqF+kFYI/jJKfgWWvzc4el8K3HeXrQUrlig2jzAtVeqQvBzTNTsDavSyimDVIRSHY2wAnX8Aq2J30QNKkn8XmP/eSOrW0SJbD7tFINvhmmJzEX7jy5YOO7z8G3kzN8Jg9FLC3xAi1tNARQV50P5clHvXvQyGGLVfB38JulE0kexDA7jTH3DnAz8cn1hWNwIDAQAB",
Expand All @@ -12,7 +12,7 @@
"128": "icons/icon-128.png"
},
"content_security_policy": {
"extension_pages": "style-src-elem 'self' https://cdnjs.cloudflare.com; font-src 'self' https://cdnjs.cloudflare.com; script-src 'self' 'wasm-unsafe-eval'; default-src 'self' data:; connect-src 'self' data: http://localhost:8000 https://huggingface.co https://cdn-lfs.huggingface.co https://cdn-lfs-us-1.huggingface.co https://raw.githubusercontent.com"
"extension_pages": "style-src-elem 'self' https://cdnjs.cloudflare.com; font-src 'self' https://cdnjs.cloudflare.com; script-src 'self' 'wasm-unsafe-eval'; default-src 'self' data:; connect-src 'self' data: http://localhost:8000 https://huggingface.co https://cdn-lfs.huggingface.co https://cdn-lfs-us-1.huggingface.co https://cdn-lfs-us-1.hf.co https://raw.githubusercontent.com"
},
"action": {
"default_title": "Magda",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,10 @@
"@lezer/lr" "^1.0.0"
json5 "^2.2.1"

"@mlc-ai/web-llm@0.2.62":
version "0.2.62"
resolved "https://registry.yarnpkg.com/@mlc-ai/web-llm/-/web-llm-0.2.62.tgz#cbe0e927e46f95a50f8292c4f5cfea5a9f0a2002"
integrity sha512-biEYs13nfNjRa4GRVXRsnXLk/yCTslxSH3OjW/4PjoyvZcCtcIe4Aks20WnrMpJMz63ezE6noJF2fkFWStsI0A==
"@mlc-ai/web-llm@0.2.73":
version "0.2.73"
resolved "https://registry.npmjs.org/@mlc-ai/web-llm/-/web-llm-0.2.73.tgz"
integrity sha512-v9eS05aptZYNBhRZ7KEq5dr1kMESHvkdwru9tNY1oS1GDDEBjUt4Y/u06ejvP3qF4VatCakEezzJT3SkuMhDnQ==
dependencies:
loglevel "^1.9.1"

Expand Down

0 comments on commit 69205b1

Please sign in to comment.