This package provides the AmazeeClaw Polydock AI app implementation.
It is intentionally minimal and built on top of the generic AI app so shared lifecycle logic stays upstream and only AmazeeClaw-specific behavior lives here.
- Base class:
FreedomtechHosting\PolydockAppAmazeeioGeneric\PolydockAiApp - Main app class:
Amazeeio\PolydockAppAmazeeclaw\PolydockAmazeeClawAiApp - Local overrides kept in this package:
src/Traits/Create/PostCreateAppInstanceTrait.phpsrc/Traits/UsesAmazeeAiBackend.php
- Adds app instance field
openclaw_default_model - Injects
MAZ_OPENCLAW_DEFAULT_MODELinto Lagoon project variables - Creates/reuses an amazee.ai team (
gpt-<lagoon-project-name>) using the app instance user email - Uses team-owned LiteLLM token creation via
Client::createPrivateAIKeyToken()fromfreedomtech-hosting/polydock-amazeeai-backend-client-php - Injects:
AMAZEEAI_BASE_URLAMAZEEAI_API_KEYAMAZEE_AI_TEAM_ID
- PHP/Composer environment compatible with Polydock packages
- Dependency versions (see
composer.json), especially:freedomtech-hosting/polydock-app-amazeeio-genericfreedomtech-hosting/polydock-amazeeai-backend-client-php ^0.1
Install/update dependencies:
composer updateWhen running local workflows with Docker Compose, use detached mode:
docker-compose up -d