Skip to content

Commit

Permalink
fix: types
Browse files Browse the repository at this point in the history
  • Loading branch information
developer239 committed Jul 27, 2024
1 parent 82dfc96 commit da1d886
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion example/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const Llama = require('../index.js');
const { Llama } = require('../index.js');

async function main() {
//
Expand Down
4 changes: 3 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
const { LlamaCPP } = require('./cpp/build/Release/llamacpp_node_bindings.node');

module.exports = LlamaCPP;
module.exports = {
Llama: LlamaCPP
}

0 comments on commit da1d886

Please sign in to comment.