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

tiktoken_core not found

Open toblerlee opened this issue 2 years ago • 5 comments

I am on m3 macbook pro with cargo installed. I get this message once "tiktoken_core not found". I never got messages from claude or openai only stuck at "Generating response from claude..."

toblerlee avatar Aug 16 '24 17:08 toblerlee

try this

brew install cargo

then trigger install of avante again for building tiktoken_core

wey-gu avatar Aug 17 '24 00:08 wey-gu

Thanks. I did try it and tiktoken error is gone but claude is still stuck without answer. I got following warning which I am not sure if related, can't modify buffer or window ~/.local/share/nvim/lazy/nui.nvim/lua/nui/line/init.lua line 72

function Line:render(bufnr, ns_id, linenr_start, linenr_end) local row_start = linenr_start - 1 local row_end = linenr_end and linenr_end - 1 or row_start + 1 local content = self:content() vim.api.nvim_buf_set_lines(bufnr, row_start, row_end, false, { content }) self:highlight(bufnr, ns_id, linenr_start) end

toblerlee avatar Aug 17 '24 03:08 toblerlee

this is unrelated, tho I do know about this issue.

aarnphm avatar Aug 17 '24 04:08 aarnphm

can you create a separate ticket to track this?

aarnphm avatar Aug 17 '24 04:08 aarnphm

Done. I create new ticket, thank you.

toblerlee avatar Aug 17 '24 04:08 toblerlee