CopilotChat.nvim icon indicating copy to clipboard operation
CopilotChat.nvim copied to clipboard

tiktoken download fails if cache folder doesn't exist yet

Open laino opened this issue 1 year ago • 0 comments

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.

laino avatar Sep 20 '24 05:09 laino