This guide aims to help you resolve common issues you might encounter while setting up or using ArtyLLaMa. If you're experiencing problems, please follow these steps before reporting an issue.
- Installation Issues
- Connection Problems
- AI Model Issues
- Frontend Issues
- Backend Issues
- Performance Problems
If you're having trouble installing ArtyLLaMa:
-
Ensure you have the correct versions of Node.js (v14 or later) and npm (v6 or later) installed.
- Check versions:
node --version
andnpm --version
- If outdated, update Node.js from nodejs.org
- Check versions:
-
Make sure you've cloned the repository correctly:
git clone https://github.com/kroonen/artyllama.git cd artyllama
- If
npm install
fails:
- Clear npm cache:
npm cache clean --force
- Delete the
node_modules
folder andpackage-lock.json
file - Run
npm install
again
If you're unable to connect to AI providers:
-
Check your internet connection.
-
Verify that your
.env
file is set up correctly with valid API keys and URLs:
OLLAMA_API_URL=http://localhost:11434
OPENAI_API_KEY=your_openai_api_key_here
ANTHROPIC_API_KEY=your_anthropic_api_key_here
- For Ollama:
- Ensure Ollama is running locally or on the specified server
- Check if you can access the Ollama API directly (e.g., via curl)
- For OpenAI and Anthropic:
- Verify that your API keys are valid and have sufficient credits
If you're experiencing problems with AI models:
- For Ollama models:
- Ensure the model is downloaded and available locally
- Check Ollama logs for any model-specific errors
- For OpenAI and Anthropic models:
- Verify that you're using supported model names
- Check if there are any service outages reported by the providers
- If a specific model isn't appearing in the selection:
- Restart the backend server
- Check the server logs for any errors related to model fetching
For problems with the React frontend:
-
Clear your browser cache and reload the page.
-
Check the browser console for any JavaScript errors.
-
Ensure you're running the latest version of the code:
git pull origin main npm install npm start
- If the UI is not updating properly, try disabling any ad-blockers or browser extensions.
If the backend server isn't working correctly:
-
Check if the server is running on the correct port (default is 3001).
-
Review the server logs for any error messages.
-
Ensure all required environment variables are set correctly.
-
Try restarting the server:
npm run server
If you're experiencing slow performance:
-
Check your internet connection speed.
-
For Ollama models, ensure your machine meets the recommended specifications.
-
If using OpenAI or Anthropic, be aware of rate limits that might affect performance.
-
Try closing other resource-intensive applications on your machine.
-
If the UI is lagging, consider using a more powerful device or a different browser.
If you've gone through this troubleshooting guide and are still experiencing issues, please open an issue on the GitHub repository with detailed information about your problem, including:
- Steps to reproduce the issue
- Error messages (if any)
- Your operating system and browser version
- Versions of Node.js and npm
- Any relevant log outputs
We appreciate your patience and contributions to improving ArtyLLaMa!