@fugood/llama.node 1.4.10 → 1.4.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fugood/llama.node",
3
3
  "access": "public",
4
- "version": "1.4.10",
4
+ "version": "1.4.11",
5
5
  "description": "An another Node binding of llama.cpp",
6
6
  "main": "lib/index.js",
7
7
  "scripts": {
@@ -72,20 +72,20 @@
72
72
  "CMakeLists.txt"
73
73
  ],
74
74
  "optionalDependencies": {
75
- "@fugood/node-llama-darwin-arm64": "1.4.10",
76
- "@fugood/node-llama-darwin-x64": "1.4.10",
77
- "@fugood/node-llama-linux-arm64": "1.4.10",
78
- "@fugood/node-llama-linux-arm64-cuda": "1.4.10",
79
- "@fugood/node-llama-linux-arm64-snapdragon": "1.4.10",
80
- "@fugood/node-llama-linux-arm64-vulkan": "1.4.10",
81
- "@fugood/node-llama-linux-x64": "1.4.10",
82
- "@fugood/node-llama-linux-x64-cuda": "1.4.10",
83
- "@fugood/node-llama-linux-x64-vulkan": "1.4.10",
84
- "@fugood/node-llama-win32-arm64": "1.4.10",
85
- "@fugood/node-llama-win32-arm64-vulkan": "1.4.10",
86
- "@fugood/node-llama-win32-x64": "1.4.10",
87
- "@fugood/node-llama-win32-x64-cuda": "1.4.10",
88
- "@fugood/node-llama-win32-x64-vulkan": "1.4.10"
75
+ "@fugood/node-llama-darwin-arm64": "1.4.11",
76
+ "@fugood/node-llama-darwin-x64": "1.4.11",
77
+ "@fugood/node-llama-linux-arm64": "1.4.11",
78
+ "@fugood/node-llama-linux-arm64-cuda": "1.4.11",
79
+ "@fugood/node-llama-linux-arm64-snapdragon": "1.4.11",
80
+ "@fugood/node-llama-linux-arm64-vulkan": "1.4.11",
81
+ "@fugood/node-llama-linux-x64": "1.4.11",
82
+ "@fugood/node-llama-linux-x64-cuda": "1.4.11",
83
+ "@fugood/node-llama-linux-x64-vulkan": "1.4.11",
84
+ "@fugood/node-llama-win32-arm64": "1.4.11",
85
+ "@fugood/node-llama-win32-arm64-vulkan": "1.4.11",
86
+ "@fugood/node-llama-win32-x64": "1.4.11",
87
+ "@fugood/node-llama-win32-x64-cuda": "1.4.11",
88
+ "@fugood/node-llama-win32-x64-vulkan": "1.4.11"
89
89
  },
90
90
  "devDependencies": {
91
91
  "@babel/preset-env": "^7.24.4",
@@ -585,7 +585,7 @@ Napi::Value LlamaContext::GetModelInfo(const Napi::CallbackInfo &info) {
585
585
  for (int i = 0; i < count; i++) {
586
586
  char key[256];
587
587
  llama_model_meta_key_by_index(model, i, key, sizeof(key));
588
- char val[4096];
588
+ char val[16384];
589
589
  llama_model_meta_val_str_by_index(model, i, val, sizeof(val));
590
590
 
591
591
  metadata.Set(key, val);