Common Issues
Build and Installation
Build fails on installation
Build fails on installation
Symptoms: Error messages during plugin installation/build process.Solutions:
-
Ensure build tools are installed:
- macOS
- Linux
- Windows
-
Force rebuild:
-
Try prebuilt binaries (don’t build from source):
-
Check Neovim version:
Avante requires Neovim 0.10.1+.
Cargo/Rust errors
Cargo/Rust errors
Symptoms: Errors mentioning
cargo, rustc, or Rust compilation.Solutions:-
Install Rust:
-
Update Rust:
-
Use prebuilt binaries instead:
Permission denied errors
Permission denied errors
Symptoms: Build fails with permission errors.Solutions:
-
Check file permissions:
-
Fix permissions:
-
Clean and reinstall:
API Keys and Authentication
API key not recognized
API key not recognized
Symptoms: Avante prompts for API key every time, or shows “API key not set” errors.Solutions:
-
Set environment variables in shell profile:
-
Reload shell configuration:
-
Verify environment variable is set:
- Restart Neovim after setting environment variables.
Claude Max/Pro authentication fails
Claude Max/Pro authentication fails
Symptoms: Browser authentication for Claude Max doesn’t work.Solutions:
-
Ensure correct auth type:
-
Switch provider to trigger auth:
-
Follow browser prompts:
- A browser window should open
- Log in to Claude
- Authorize the application
- Copy the code shown
- Paste into Neovim prompt
-
Check for browser issues:
- Ensure default browser is set
- Try manually opening the URL shown in Neovim
Multiple API providers confusion
Multiple API providers confusion
Symptoms: Wrong API key being used.Solution: Use scoped API keys to isolate Avante:Avante will prefer
AVANTE_* keys if set.UI and Display Issues
Sidebar not showing or flickering
Sidebar not showing or flickering
Markdown rendering issues
Markdown rendering issues
Symptoms: Code blocks or markdown not rendering correctly.Solutions:
-
Ensure render-markdown.nvim is installed:
-
Add Avante to file types:
-
Check treesitter parsers:
Diff highlights not showing
Diff highlights not showing
Symptoms: Can’t see conflict highlights when AI suggests changes.Solutions:
-
Enable auto highlight groups:
-
Check colorscheme compatibility:
Some colorschemes don’t define
DiffText/DiffAdd. Set manually: -
Try different highlights:
Icons not displaying
Icons not displaying
Symptoms: Missing or broken icons in UI.Solutions:
- Install a Nerd Font:
- Download from nerdfonts.com
- Install and set as terminal font
- Install icon plugin:
Performance Issues
Slow responses from AI
Slow responses from AI
Symptoms: Long wait times for AI responses.Solutions:
-
Increase timeout:
-
Use faster models:
-
Reduce context size:
- Use
/compactto compress history - Avoid adding too many files with
@file - Clear history with
/clear
- Use
- Check internet connection.
High API costs
High API costs
Symptoms: Unexpected API bills.Solutions:
-
Disable auto-suggestions:
-
Increase debounce/throttle:
-
Use cheaper models:
-
Disable token counting:
Neovim freezing or lagging
Neovim freezing or lagging
Symptoms: Neovim becomes unresponsive.Solutions:
- Update Neovim to latest version (0.10.1+).
-
Disable expensive features:
-
Check for plugin conflicts:
-
Reduce spinner animation:
Feature-Specific Issues
RAG service not working
RAG service not working
Symptoms:
@codebase doesn’t work, RAG errors.Solutions:-
Ensure Docker is running:
-
Check RAG configuration:
-
Verify API keys:
-
Remove and recreate container:
-
Check container logs:
Web search not working
Web search not working
Symptoms: Web search tool fails or returns no results.Solutions:
-
Set API key:
-
Check provider configuration:
- Verify internet connectivity.
- Check API quota (may be exceeded).
-
Try different provider:
Completions not showing (nvim-cmp/blink.cmp)
Completions not showing (nvim-cmp/blink.cmp)
Symptoms: No slash commands, mentions, or shortcuts appear.Solutions:
-
Verify completion plugin is installed:
-
For blink.cmp, configure sources:
- Ensure you’re in Avante chat input.
-
Check for source errors:
File selector (@file) not opening
File selector (@file) not opening
Symptoms: Typing
@file doesn’t open file picker.Solutions:-
Configure selector provider:
-
Install required dependency:
- Don’t use “native” with blink.cmp (known issue).
Compatibility Issues
Neovim version too old
Neovim version too old
Symptoms: Errors about missing functions or features.Solution: Upgrade to Neovim 0.10.1 or later:
- macOS
- Linux (AppImage)
- Windows
Plugin conflicts
Plugin conflicts
Common conflicts:
- Other AI plugins: May conflict with keybindings or UI
- Completion plugins: Ensure only nvim-cmp OR blink.cmp is active
- UI plugins: May interfere with Avante’s sidebar
lazy.nvim’s enabled = false to disable conflicting plugins temporarily:Known Issues
blink.cmp Native Selector
Issue: Usingselector.provider = "native" with blink.cmp causes errors.
Workaround: Use a different selector:
Copilot as Auto-Suggestions Provider
Issue: Using Copilot forauto_suggestions_provider can cause high API costs due to request frequency.
Workaround: Use Claude or OpenAI instead:
Fast Apply Token Limits
Issue: Fast Apply is limited to 16k tokens for input/output. Workaround: Break large files into smaller edits or use traditional mode.Getting Help
GitHub Issues
Report bugs or request features
Discord Community
Get help from the community
Wiki
Community recipes and tricks
Discussions
Ask questions and share ideas
Debugging Tips
Related Documentation
Installation
Installation guide
Configuration
Configuration reference
GitHub Issues
Report issues and get help