We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CLI does not work with Bun
bunx --no node-llama-cpp chat --model ./models/llama-2-7b.Q4_K_M.gguf
model should load correctly and enter a chat
Returns: Not enough non-option arguments: got 0, need at least 1
bun install node-llama-cpp bunx --no node-llama-cpp chat --model ./models/llama-2-7b.Q4_K_M.gguf
Ubuntu 22 | "node-llama-cpp": "^2.8.5",
It would be great if this module works with bun
bun is super fast and let's us also use commonjs modules in the same script alongside esm import-only modules like node-llama-cpp
Yes, I have the time, and I know how to start.
The text was updated successfully, but these errors were encountered:
@drschwabe node-llama-cpp CLI works with Bun. bunx doesn't support the --no parameter, so you should omit it when using bunx.
node-llama-cpp
bunx
--no
You should use the CLI like this:
bunx --bun node-llama-cpp chat --model ./models/llama-2-7b.Q4_K_M.gguf
Sorry, something went wrong.
No branches or pull requests
Issue description
CLI does not work with Bun
Expected Behavior
bunx --no node-llama-cpp chat --model ./models/llama-2-7b.Q4_K_M.gguf
model should load correctly and enter a chat
Actual Behavior
bunx --no node-llama-cpp chat --model ./models/llama-2-7b.Q4_K_M.gguf
Returns: Not enough non-option arguments: got 0, need at least 1
Steps to reproduce
bun install node-llama-cpp
bunx --no node-llama-cpp chat --model ./models/llama-2-7b.Q4_K_M.gguf
My Environment
Ubuntu 22 |
"node-llama-cpp": "^2.8.5",
Additional Context
It would be great if this module works with bun
bun is super fast and let's us also use commonjs modules in the same script alongside esm import-only modules like node-llama-cpp
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.
The text was updated successfully, but these errors were encountered: