Skip to content

Commit

Permalink
chore: remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
hans00 committed Apr 29, 2024
1 parent 6b871ec commit 9b4f806
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/addons.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,6 @@ class LlamaCompletionWorker : public Napi::AsyncWorker,
tokens_predicted += 1;
n_input = 1;
if (_has_callback) {
// _cb.Call({ Napi::String::New(AsyncWorker::Env(), token) });
const char *c_token = strdup(token.c_str());
_tsfn.BlockingCall(c_token, [](Napi::Env env, Napi::Function jsCallback,
const char *value) {
Expand Down

0 comments on commit 9b4f806

Please sign in to comment.