← Back to Documentation

Troubleshooting

Common issues and solutions for PersistenceAI.

Installation Issues

Install Script Fails

Problem: Install script fails to download or execute. Solutions: - Linux/macOS: https://persistence-ai.github.io/Landing/install.sh - Windows: https://persistence-ai.github.io/Landing/install.ps1

Binary Not Found After Installation

Problem: persistenceai command not found. Solutions: - Windows: %USERPROFILE%\.persistenceai\bin\persistenceai.exe - Linux/macOS: ~/.persistenceai/bin/persistenceai

Configuration Issues

Config File Not Found

Problem: PersistenceAI can't find your config file. Solutions: - Windows: %USERPROFILE%\.config\pai\ - Linux/macOS: ~/.config/pai/
{
     "keybinds": {},
     "providers": {}
   }

Keybinds Not Working

Problem: Keyboard shortcuts don't work. Solutions:

Provider Issues

API Key Not Working

Problem: Provider authentication fails. Solutions:

Ollama Connection Failed

Problem: Can't connect to Ollama. Solutions:
ollama list

Performance Issues

Slow Response Times

Problem: PersistenceAI responds slowly. Solutions:

High Memory Usage

Problem: PersistenceAI uses too much memory. Solutions:

Feature Issues

@ File Search Not Working

Problem: @ shortcut doesn't show file suggestions. Solutions:

Editor Not Opening

Problem: Editor pane doesn't open. Solutions:

Commands Not Working

Problem: Commands like /undo don't work. Solutions:

Terminal Compatibility

Windows PowerShell Issues

Problem: TUI doesn't render correctly in PowerShell. Solutions:

Terminal Not Supported

Problem: Terminal compatibility errors. Solutions: - WezTerm (cross-platform) - Alacritty (cross-platform) - Windows Terminal (Windows) - iTerm2 (macOS) - True color - Unicode - Mouse events

Getting Help

If you're still experiencing issues:


Common Error Messages

"Provider not configured"

Solution: Run /connect to configure a provider.

"Session not found"

Solution: Create a new session with /new or list sessions with /session.

"Model not available"

Solution: Check model name is correct, or select from /models.

"Permission denied"

Solution: Check file permissions and ensure PersistenceAI has access.

For more help, see: