File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ To disable this behavior set the environment variable `NODE_LLAMA_CPP_SKIP_DOWNL
25
25
``` typescript
26
26
import {fileURLToPath } from " url" ;
27
27
import path from " path" ;
28
- import {LlamaModel , LlamaChatSession } from " node-llama-cpp" ;
28
+ import {LlamaModel , LlamaContext , LlamaChatSession } from " node-llama-cpp" ;
29
29
30
30
const __dirname = path .dirname (fileURLToPath (import .meta .url ));
31
31
@@ -54,7 +54,7 @@ console.log("AI: " + a2);
54
54
``` typescript
55
55
import {fileURLToPath } from " url" ;
56
56
import path from " path" ;
57
- import {LlamaModel , LlamaChatSession , ChatPromptWrapper } from " node-llama-cpp" ;
57
+ import {LlamaModel , LlamaContext , LlamaChatSession , ChatPromptWrapper } from " node-llama-cpp" ;
58
58
59
59
const __dirname = path .dirname (fileURLToPath (import .meta .url ));
60
60
@@ -98,7 +98,7 @@ console.log("AI: " + a2);
98
98
``` typescript
99
99
import {fileURLToPath } from " url" ;
100
100
import path from " path" ;
101
- import {LlamaModel , LlamaChatSession } from " node-llama-cpp" ;
101
+ import {LlamaModel , LlamaContext , LlamaChatSession } from " node-llama-cpp" ;
102
102
103
103
const __dirname = path .dirname (fileURLToPath (import .meta .url ));
104
104
You can’t perform that action at this time.
0 commit comments