Error executing luv callback:
...g0lzxnabgy-lazy-plugins/plenary.nvim/lua/plenary/job.lua:487: E5560: vim.wait must not be called in a lua loop callback
stack traceback:
[C]: in function 'wait'
...g0lzxnabgy-lazy-plugins/plenary.nvim/lua/plenary/job.lua:487: in function 'wait'
...g0lzxnabgy-lazy-plugins/plenary.nvim/lua/plenary/job.lua:454: in function 'sync'
...0lzxnabgy-lazy-plugins/plenary.nvim/lua/plenary/curl.lua:317: in function 'get'
...zy-plugins/CopilotChat.nvim/lua/CopilotChat/tiktoken.lua:26: in function <...zy-plugins/CopilotChat.nvim/lua/CopilotChat/tiktoken.lua:23>
[C]: in function '__newindex'
...y-lazy-plugins/CopilotChat.nvim/lua/CopilotChat/chat.lua:47: in function 'buf_create'
...azy-plugins/CopilotChat.nvim/lua/CopilotChat/overlay.lua:38: in function 'validate'
...y-lazy-plugins/CopilotChat.nvim/lua/CopilotChat/chat.lua:143: in function 'open'
...y-lazy-plugins/CopilotChat.nvim/lua/CopilotChat/init.lua:326: in function 'open'
...y-lazy-plugins/CopilotChat.nvim/lua/CopilotChat/init.lua:353: in function <...y-lazy-plugins/CopilotChat.nvim/lua/CopilotChat/init.lua:349>
I think, the reason is downloading cl100k_base.tiktoken.
Error occurred on first run
I think, the reason is downloading cl100k_base.tiktoken.
https://github.com/CopilotC-Nvim/CopilotChat.nvim/blob/82923efe22b604cf9c0cad0bb2a74aa9247755ab/lua/CopilotChat/tiktoken.lua#L21
But, I don't known how to fix it.
Delete cl100k_base.tiktoken, and run nvim, the error will happen.