-
Notifications
You must be signed in to change notification settings - Fork 274
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
bug: @codebase not working #881
Labels
bug
Something isn't working
Comments
I can also add that I'm getting this error when asking a questions when there is no open buffer: Error 23:05:08 msg_show.emsg E5108: Error executing lua: ...ocal/share/nvim/lazy/avante.nvim/lua/avante/repo_map.lua:77: attempt to concatenate local 'file_ext' (a nil value)
stack traceback:
...ocal/share/nvim/lazy/avante.nvim/lua/avante/repo_map.lua:77: in function 'get_repo_map'
...local/share/nvim/lazy/avante.nvim/lua/avante/sidebar.lua:1409: in function 'handle_submit'
...local/share/nvim/lazy/avante.nvim/lua/avante/sidebar.lua:1488: in function <...local/share/nvim/lazy/avante.nvim/lua/avante/sidebar.lua:1478>
Error 23:05:10 msg_show.lua_error Error executing vim.schedule lua callback: ...ender-markdown.nvim/lua/render-markdown/core/context.lua:85: attempt to index local 'node' (a number value)
stack traceback:
...ender-markdown.nvim/lua/render-markdown/core/context.lua:85: in function 'get_checkbox'
...r-markdown.nvim/lua/render-markdown/render/list_item.lua:33: in function 'setup'
...r-markdown.nvim/lua/render-markdown/handler/markdown.lua:80: in function 'callback'
...ender-markdown.nvim/lua/render-markdown/core/context.lua:190: in function 'query'
...r-markdown.nvim/lua/render-markdown/handler/markdown.lua:76: in function 'parse'
...azy/render-markdown.nvim/lua/render-markdown/core/ui.lua:215: in function 'parse_tree'
...azy/render-markdown.nvim/lua/render-markdown/core/ui.lua:185: in function 'parse_buffer'
...azy/render-markdown.nvim/lua/render-markdown/core/ui.lua:122: in function 'run_update'
...azy/render-markdown.nvim/lua/render-markdown/core/ui.lua:88: in function <...azy/render-markdown.nvim/lua/render-markdown/core/ui.lua:87>
Error 23:05:10 msg_show.lua_error Error executing vim.schedule lua callback: ...ender-markdown.nvim/lua/render-markdown/core/context.lua:85: attempt to index local 'node' (a number value)
stack traceback:
...ender-markdown.nvim/lua/render-markdown/core/context.lua:85: in function 'get_checkbox'
...r-markdown.nvim/lua/render-markdown/render/list_item.lua:33: in function 'setup'
...r-markdown.nvim/lua/render-markdown/handler/markdown.lua:80: in function 'callback'
...ender-markdown.nvim/lua/render-markdown/core/context.lua:190: in function 'query'
...r-markdown.nvim/lua/render-markdown/handler/markdown.lua:76: in function 'parse'
...azy/render-markdown.nvim/lua/render-markdown/core/ui.lua:215: in function 'parse_tree'
...azy/render-markdown.nvim/lua/render-markdown/core/ui.lua:185: in function 'parse_buffer'
...azy/render-markdown.nvim/lua/render-markdown/core/ui.lua:122: in function 'run_update'
...azy/render-markdown.nvim/lua/render-markdown/core/ui.lua:88: in function <...azy/render-markdown.nvim/lua/render-markdown/core/ui.lua:87>
Error 23:05:20 msg_show.lua_error Error executing vim.schedule lua callback: ...ender-markdown.nvim/lua/render-markdown/core/context.lua:85: attempt to index local 'node' (a number value)
stack traceback:
...ender-markdown.nvim/lua/render-markdown/core/context.lua:85: in function 'get_checkbox'
...r-markdown.nvim/lua/render-markdown/render/list_item.lua:33: in function 'setup'
...r-markdown.nvim/lua/render-markdown/handler/markdown.lua:80: in function 'callback'
...ender-markdown.nvim/lua/render-markdown/core/context.lua:190: in function 'query'
...r-markdown.nvim/lua/render-markdown/handler/markdown.lua:76: in function 'parse'
...azy/render-markdown.nvim/lua/render-markdown/core/ui.lua:215: in function 'parse_tree'
...azy/render-markdown.nvim/lua/render-markdown/core/ui.lua:185: in function 'parse_buffer'
...azy/render-markdown.nvim/lua/render-markdown/core/ui.lua:122: in function 'run_update'
...azy/render-markdown.nvim/lua/render-markdown/core/ui.lua:88: in function <...azy/render-markdown.nvim/lua/render-markdown/core/ui.lua:87> |
@john-persson-polestar It seems that your Avante is not the latest version. Can you upgrade to the latest version and try again? |
I'm getting the exact same issue, Avante has no context of any other files outside of my current buffer. Commit sha 934602b |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
I'm trying to chat with the codebase using
@codebase
, however Avante seams to have no context of file other than the on in my current buffer.I.e. when asking about files that are imported in the current buffer, they are not in the context of Avante.
and when I ask how to include them I will get the following answer:
To reproduce
Ask a question to Avante with
@codebase
about files that are not part of the current buffer.Expected behavior
For Avante to have the full project context when asking questions using
@codebase
.Installation method
Use lazy.nvim:
Environment
Repro
The text was updated successfully, but these errors were encountered: