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
2525``` typescript
2626import {fileURLToPath } from " url" ;
2727import path from " path" ;
28- import {LlamaModel , LlamaChatSession } from " node-llama-cpp" ;
28+ import {LlamaModel , LlamaContext , LlamaChatSession } from " node-llama-cpp" ;
2929
3030const __dirname = path .dirname (fileURLToPath (import .meta .url ));
3131
@@ -54,7 +54,7 @@ console.log("AI: " + a2);
5454``` typescript
5555import {fileURLToPath } from " url" ;
5656import path from " path" ;
57- import {LlamaModel , LlamaChatSession , ChatPromptWrapper } from " node-llama-cpp" ;
57+ import {LlamaModel , LlamaContext , LlamaChatSession , ChatPromptWrapper } from " node-llama-cpp" ;
5858
5959const __dirname = path .dirname (fileURLToPath (import .meta .url ));
6060
@@ -98,7 +98,7 @@ console.log("AI: " + a2);
9898``` typescript
9999import {fileURLToPath } from " url" ;
100100import path from " path" ;
101- import {LlamaModel , LlamaChatSession } from " node-llama-cpp" ;
101+ import {LlamaModel , LlamaContext , LlamaChatSession } from " node-llama-cpp" ;
102102
103103const __dirname = path .dirname (fileURLToPath (import .meta .url ));
104104
You can’t perform that action at this time.
0 commit comments