Repository navigation
Configuration
wildfirebill edited this page Aug 25, 2026
·
2 revisions
Open Settings by clicking the ⚙️ icon in the activity bar. All configuration is available through the visual editor.
| Setting | Default | Description |
|---|---|---|
| Auto-save | On (1000ms delay) | Automatically save files after changes |
| Minimap | On | Show minimap in editor |
| Font size | 14px | Editor font size |
| Word wrap | Off | Wrap long lines |
Configure providers in Settings → LLM Providers. Supported presets:
| Provider | Default URL | Notes |
|---|---|---|
| Ollama | http://localhost:11434/v1 |
Recommended for local use |
| LM Studio | http://localhost:1234/v1 |
Enable local server first |
| llama.cpp | http://localhost:8080/v1 |
Run llama-server
|
| vLLM | http://localhost:8000/v1 |
OpenAI-compatible API |
- Click "+ Add provider"
- Enter a name and base URL
- (Optional) Enter an API key
- Click "Test" to verify the connection
Create .localai/system.md in your workspace root to customize the agent's behavior.
# System Instructions
You are a helpful coding assistant working in {{workspace}} on branch {{git_branch}}.
- Always use TypeScript strict mode
- Write tests for new logic
- Follow Conventional Commits format
- Never touch files under vendor/Use these variables in your system prompt — they're substituted at runtime:
| Variable | Replaced with |
|---|---|
{{workspace}} |
Current workspace path |
{{git_branch}} |
Current git branch name |
{{date}} |
Today's date (YYYY-MM-DD) |
{{time}} |
Current time (HH:MM:SS) |
{{weekday}} |
Day of the week (Monday, Tuesday, ...) |
Available in Settings → Agent Instructions:
- Code Assistant — general coding help
- Security Reviewer — security-focused code review
- DevOps Helper — infrastructure and deployment
- Refactor Expert — code cleanup and simplification
Store persistent notes the agent reads for context:
- Navigate to Settings → Agent Memory
- Add notes with a key, content, and category (General, Build, Config, Findings, Decisions)
- Notes are stored in
.localai/memory/<key>.md - The agent loads these automatically during runs
Settings are saved per-workspace in .localai/ directory:
.localai/
├── system.md → Agent system prompt
├── settings.json → Workspace-specific settings
└── skills/ → Project-specific skills
└── <skill-name>/
└── SKILL.md
| Variable | Description |
|---|---|
LOCALAI_HOST |
Server bind address (default: 0.0.0.0) |
LOCALAI_PORT |
Server port (default: 4801) |
LOCALAI_WEB_DIST |
Path to web UI dist (Docker) |
LOCALAI_SKILLS_DIR |
Path to builtin skills (Docker) |