Skip to content

Conversation

@guanghechen
Copy link
Contributor

This pull request updates the Sidebar:initialize function in lua/avante/sidebar.lua to improve file selection behavior. Specifically, it adds a check to ensure the provided file path exists before adding it to the file selector.

  • lua/avante/sidebar.lua: Updated the Sidebar:initialize method to verify the existence of filepath using Utils.path.is_exist_filepath before calling add_selected_file.

@yetone yetone merged commit c356fc7 into yetone:main Jun 18, 2025
3 checks passed
doodleEsc pushed a commit to doodleEsc/avante.nvim that referenced this pull request Jun 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants