mirror of
https://github.com/run-llama/semtools.git
synced 2026-07-21 11:15:24 -04:00
Standard example doesn't work #10
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @thisismygitrepo on GitHub (Nov 6, 2025).
following read me and getting this not very detailed error:
@logan-markewich commented on GitHub (Nov 6, 2025):
@thisismygitrepo are there actually py files in your current Directory?
@logan-markewich commented on GitHub (Nov 6, 2025):
Its either that or maybe some issue downloading the embedding model? 🤔
@logan-markewich commented on GitHub (Nov 6, 2025):
Or also maybe an installation issue too. Does
which searchwork?@thisismygitrepo commented on GitHub (Nov 6, 2025):
are there py files?
fd .py | xargs parse Error processing file: IoError(Os { code: 21, kind: IsADirectory, message: "Is a directory" }) Error processing file: InvalidResponse("Job failed with status: ERROR") src/__init__.py src/machineconfig/__init__.py src/machineconfig/cluster/__init__.py src/machineconfig/cluster/remote/cloud_manager.py src/machineconfig/cluster/remote/data_transfer.py src/machineconfig/cluster/remote/distribute.py src/machineconfig/cluster/remote/file_manager.py src/machineconfig/cluster/remote/job_params.py src/machineconfig/cluster/remote/loader_runner.py src/machineconfig/cluster/remote/remote_machine.pyOne file only
parse src/machineconfig/cluster/remote/remote_machine.py src/machineconfig/cluster/remote/remote_machine.pyI saw embedding model and something like safe tensors getting downoaded, it was like 500MB.
instllation issue?
which search /home/alex/.nvm/versions/node/v24.10.0/bin/searchThis example worked (only after I created parent dir)
echo "some new content" > ./some_large_dir/some_file.txt search "some keywords" ./some_large_dir/*.txt --n-lines 5 --top-k 10 ./some_large_dir/some_file.txt:0::1 (0.7066847052212817) 1: some new contentthis one didn't
@logan-markewich commented on GitHub (Nov 6, 2025):
Appreciate the debug notes. Im fairly perplexed now 😅 Will try a few ways to replicate myself..
@logan-markewich commented on GitHub (Nov 7, 2025):
@thisismygitrepo I think the max-distance just filters it out in that latest example?
So far was not able to reproduce the original OSError (and seems like you also don't get an os error anymore?)
@thisismygitrepo commented on GitHub (Nov 7, 2025):
I went fresh installation on a new machine, and it worked as expected on all my experiemnts, and I didn't even set
api_key. On my current machine still show problemsHow come it worked on another machine without api key and auth? Next up, I try again with api key in the parse config file.
looks like a whole set of issues to my eyes.
@logan-markewich commented on GitHub (Nov 10, 2025):
No idea why it doesn't work on both machines. I do know that the NPM version tries to do some matching on architecture types.
I'm curious if you installed with cargo instead if it works.
Maybe an issue in this script for NPM
https://github.com/run-llama/semtools/blob/e0d5cf679bc86c23bb911e172f798df98f0550de/scripts/install.js#L165
The API issue looks like an issue with LlamaParse failing to parse your file? Not sure what kind of config you had setup. (fyi
parseon md files doesn't really make sense, LlamaParse will not do anything fancy with them anyways). It would probably help if it logged the job ID/file name when processing failed@thisismygitrepo commented on GitHub (Nov 11, 2025):
Yep, definitely npm to blame, I downloaded the binaries from release page and used them, it works seamlessly
@logan-markewich commented on GitHub (Nov 13, 2025):
I'll give the NPM script another look and see if I can improve 🙏🏻