Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ansible/group_vars/vps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,4 @@ openrouter_api_key: ""
# --- Traefik / TLS ---
traefik_acme_email: "you@example.com"
ingress_host: "bot.yourdomain.com"
aider_model: "openrouter/anthropic/claude-sonnet-4"
1 change: 1 addition & 0 deletions ansible/playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@
stringData:
JOB_TTL_SECONDS: "3600"
ADMIN_TOKEN: "{{ admin_token }}"
AIDER_MODEL: "{{ aider_model }}"
register: apply_secret_orchestrator_cfg
changed_when: "'created' in apply_secret_orchestrator_cfg.stdout or 'configured' in apply_secret_orchestrator_cfg.stdout"
# no_log: true
Expand Down
11 changes: 11 additions & 0 deletions ansible/secrets.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
ingress_host=bot.yourdomain.com
aider_model=openrouter/anthropic/claude-sonnet-4
traefik_acme_email=you@example.com
github_app_id=123456
github_private_key_local_path=/path/to/github-app.pem
webhook_secret=changeme
admin_token=changeme
anthropic_api_key=
openai_api_key=
openrouter_api_key=
aider_model=openrouter/x-ai/grok-4.3
2 changes: 2 additions & 0 deletions app/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ class Settings:
claude_worker_image: str = os.getenv("CLAUDE_WORKER_IMAGE", "worker-claude:latest")
codex_worker_image: str = os.getenv("CODEX_WORKER_IMAGE", "worker-codex:latest")
aider_worker_image: str = os.getenv("AIDER_WORKER_IMAGE", "worker-aider:latest")
aider_model: str = os.getenv("AIDER_MODEL", "openrouter/anthropic/claude-sonnet-4")

github_app_id: str = os.getenv("GITHUB_APP_ID", "")
github_private_key: str = os.getenv("GITHUB_PRIVATE_KEY", "")
Expand Down Expand Up @@ -59,5 +60,6 @@ class ProviderConfig:
image=settings.aider_worker_image,
ai_provider="aider",
api_secret=ProviderSecretRef("OPENROUTER_API_KEY", "openrouter-api-key", "OPENROUTER_API_KEY"),
extra_env=(("AIDER_MODEL", settings.aider_model),),
),
}
5 changes: 5 additions & 0 deletions k8s/orchestrator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ spec:
secretKeyRef:
name: orchestrator-config
key: ADMIN_TOKEN
- name: AIDER_MODEL
valueFrom:
secretKeyRef:
name: orchestrator-config
key: AIDER_MODEL
- name: WEBHOOK_SECRET
valueFrom:
secretKeyRef:
Expand Down
Loading