Skip to content

Commit 2e92f2e

Browse files
authored
docs(README): add missing import (#7)
1 parent 560dd4e commit 2e92f2e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ To disable this behavior set the environment variable `NODE_LLAMA_CPP_SKIP_DOWNL
2525
```typescript
2626
import {fileURLToPath} from "url";
2727
import path from "path";
28-
import {LlamaModel, LlamaChatSession} from "node-llama-cpp";
28+
import {LlamaModel, LlamaContext, LlamaChatSession} from "node-llama-cpp";
2929

3030
const __dirname = path.dirname(fileURLToPath(import.meta.url));
3131

@@ -54,7 +54,7 @@ console.log("AI: " + a2);
5454
```typescript
5555
import {fileURLToPath} from "url";
5656
import path from "path";
57-
import {LlamaModel, LlamaChatSession, ChatPromptWrapper} from "node-llama-cpp";
57+
import {LlamaModel, LlamaContext, LlamaChatSession, ChatPromptWrapper} from "node-llama-cpp";
5858

5959
const __dirname = path.dirname(fileURLToPath(import.meta.url));
6060

@@ -98,7 +98,7 @@ console.log("AI: " + a2);
9898
```typescript
9999
import {fileURLToPath} from "url";
100100
import path from "path";
101-
import {LlamaModel, LlamaChatSession} from "node-llama-cpp";
101+
import {LlamaModel, LlamaContext, LlamaChatSession} from "node-llama-cpp";
102102

103103
const __dirname = path.dirname(fileURLToPath(import.meta.url));
104104

0 commit comments

Comments
 (0)