Issue description
I cannot build my Typescript project when using v3.0.0
Expected Behavior
My project build.
Actual Behavior
I'm getting the following error:
node_modules/node-llama-cpp/dist/chatWrappers/Llama3_1ChatWrapper.d.ts:12:72 - error TS2339: Property '_specialTokensTextForPreamble' does not exist on type '{ cuttingKnowledgeDate?: string | number | Date | (() => Date) | null | undefined; todayDate?: string | number | Date | (() => Date) | null | undefined; noToolInstructions?: boolean | undefined; }'.
12 constructor({ cuttingKnowledgeDate, todayDate, noToolInstructions, _specialTokensTextForPreamble }?: {
It was fine when I was using the beta version.
Steps to reproduce
- Install package in a Typescript project
- Build the project
My Environment
| Dependency |
Version |
| Operating System |
MacOS |
| CPU |
Apple M1 |
| Node.js version |
20.16.0 |
| Typescript version |
5.5.2 |
node-llama-cpp version |
3.0.0 |
Additional Context
I have a PR ready that I will push shortly.
Relevant Features Used
Are you willing to resolve this issue by submitting a Pull Request?
Yes, I have the time, and I know how to start.
Issue description
I cannot build my Typescript project when using v3.0.0
Expected Behavior
My project build.
Actual Behavior
I'm getting the following error:
It was fine when I was using the beta version.
Steps to reproduce
My Environment
node-llama-cppversionAdditional Context
I have a PR ready that I will push shortly.
Relevant Features Used
Are you willing to resolve this issue by submitting a Pull Request?
Yes, I have the time, and I know how to start.