feat(tokens): add token count display to sidebar (#956)

* feat (tokens) add token count display to sidebar

* refactor: calculate the real tokens and reuse input hints to avoid occlusion

---------

Co-authored-by: yetone <yetoneful@gmail.com>
This commit is contained in:
Michael Gendy
2024-12-17 14:43:25 +02:00
committed by GitHub
parent e612ad7566
commit e98fa46bec
6 changed files with 133 additions and 93 deletions

View File

@@ -69,7 +69,6 @@ function Suggestion:suggest()
Llm.stream({
provider = provider,
bufnr = bufnr,
ask = true,
selected_files = { { content = code_content, file_type = filetype, path = "" } },
code_lang = filetype,