# Mac Mini E2E Test (Apple Silicon)

**Issue**: #360

## Setup

1. Install Ollama: https://ollama.com
2. Pull a model:
   ```
   ollama pull qwen3:8b
   ```

## Test

```bash
pip install llmhosts
llmhosts --version
llmhosts doctor
llmhosts serve --port 4000 --no-tui
```

In another terminal:

```bash
curl http://localhost:4000/health
curl http://localhost:4000/v1/models
curl -X POST http://localhost:4000/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{"model":"auto","messages":[{"role":"user","content":"Hello"}]}'
```

## Checklist

- [ ] `pip install llmhosts` works (no CUDA errors)
- [ ] `llmhosts doctor` detects Apple Silicon + unified memory
- [ ] `llmhosts serve` starts and discovers Ollama
- [ ] `/v1/chat/completions` returns a response
- [ ] No CUDA-specific errors in output
- [ ] Metal acceleration used (check Ollama logs)

## Results

Paste `llmhosts doctor` output and any errors into issue #360.
