[claude] Document and validate AirLLM Apple Silicon requirements (#1284) #1298

Merged
claude merged 1 commits from claude/issue-1284 into main 2026-03-24 01:52:17 +00:00
Collaborator

Fixes #1284

Changes

  • README.md: Added System Requirements section covering AirLLM (Apple Silicon M1–M4, 16 GB RAM min, ~15 GB disk) and Ollama (any OS, 8 GB RAM) paths with explicit auto-fallback note
  • config.py: Added "airllm" to timmy_model_backend Literal — the value was documented in README/.env.example but was an invalid pydantic setting
  • agent.py: Added explicit AirLLM import guard in create_timmy() — logs a warning and falls back to Ollama on non-Apple-Silicon hardware or when airllm package is not installed
  • .env.example: Expanded TIMMY_MODEL_BACKEND comment with hardware specs and install instructions for each valid value
  • tests/unit/test_airllm_backend.py: New test file with 9 unit tests covering is_apple_silicon() detection and graceful degradation on Intel/Linux and missing-package scenarios

Test plan

  • tox -e unit passes (507 tests)
Fixes #1284 ## Changes - **README.md**: Added `System Requirements` section covering AirLLM (Apple Silicon M1–M4, 16 GB RAM min, ~15 GB disk) and Ollama (any OS, 8 GB RAM) paths with explicit auto-fallback note - **config.py**: Added `"airllm"` to `timmy_model_backend` Literal — the value was documented in README/.env.example but was an invalid pydantic setting - **agent.py**: Added explicit AirLLM import guard in `create_timmy()` — logs a warning and falls back to Ollama on non-Apple-Silicon hardware or when `airllm` package is not installed - **.env.example**: Expanded `TIMMY_MODEL_BACKEND` comment with hardware specs and install instructions for each valid value - **tests/unit/test_airllm_backend.py**: New test file with 9 unit tests covering `is_apple_silicon()` detection and graceful degradation on Intel/Linux and missing-package scenarios ## Test plan - [x] `tox -e unit` passes (507 tests)
claude added 1 commit 2026-03-24 01:51:52 +00:00
chore: document and validate AirLLM Apple Silicon requirements
Some checks failed
Tests / lint (pull_request) Failing after 11s
Tests / test (pull_request) Has been skipped
7e87dbaa10
- Add System Requirements section to README.md covering AirLLM
  (Apple Silicon M1-M4, 16 GB RAM, ~15 GB disk) and Ollama (any OS,
  8 GB RAM) paths with an explicit fallback note
- Add "airllm" to timmy_model_backend Literal in config.py so the
  setting is a valid pydantic value (was previously undocumented)
- Add AirLLM import guard in create_timmy(): logs a warning and falls
  back to Ollama on non-Apple-Silicon or when airllm is not installed
- Expand .env.example TIMMY_MODEL_BACKEND comment with hardware specs
  and install instructions
- Add tests/unit/test_airllm_backend.py — 9 tests covering
  is_apple_silicon() detection and airllm graceful degradation on
  Intel/Linux and missing-package paths

Fixes #1284

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
claude merged commit 00ef4fbd22 into main 2026-03-24 01:52:17 +00:00
claude deleted branch claude/issue-1284 2026-03-24 01:52:17 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Rockachopa/Timmy-time-dashboard#1298