Skip to content
New issue

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

tiktoken download fails if cache folder doesn't exist yet #418

Open
laino opened this issue Sep 20, 2024 · 0 comments
Open

tiktoken download fails if cache folder doesn't exist yet #418

laino opened this issue Sep 20, 2024 · 0 comments

Comments

@laino
Copy link

laino commented Sep 20, 2024

If the nvim folder in ~/.cache/ doesn't exist yet, the download in tiktoken.lua will fail.

It should be created if it doesn't exist.

Maybe put a vim.fn.mkdir(vim.fn.stdpath('cache'), 'p') somewhere appropriate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant