Files
local_ai/README.md
T
2026-09-30 07:55:26 +02:00

17 lines
711 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# local_ai
Local coding AI for [aider](https://aider.chat): an Ollama container with a model
chosen for *this* machine. Aider runs on the host and talks to the container.
```bash
./setup.sh # analyse machine, pick model, generate Dockerfile + RUN_AIDER.md
./build-ai-image.sh # build image (downloads the model)
./run-ai-image.sh # start container on 127.0.0.1:11434
# then follow RUN_AIDER.md to start aider
```
- `models.tsv` – model catalogue (edit to add models)
- `Dockerfile.template` – container template; `setup.sh` fills in the model
- `Dockerfile`, `.ai-config`, `RUN_AIDER.md` – generated per machine (git-ignored)
- `./setup.sh --model <tag> --yes` for non-interactive use