fix: fix: agents-llama container missing CLAUDE_AUTOCOMPACT_PCT_OVERRIDE — sessions exceed llama context window (#409) #412
No reviewers
Labels
No labels
action
backlog
blocked
bug-report
in-progress
prediction/actioned
prediction/dismissed
prediction/unreviewed
priority
tech-debt
underspecified
vision
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: disinto-admin/disinto#412
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/issue-409"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #409
Changes
AI Review
Summary
Adds
CLAUDE_AUTOCOMPACT_PCT_OVERRIDE=60andCLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS=1to theagents-llamacontainer environment. This directly addresses #409 — llama models have a smaller context window than Anthropic-hosted Claude, so triggering autocompact earlier (at 60%) prevents sessions from exceeding the window.Review
agents-llamaonly — the standardagentscontainer (Anthropic-hosted Claude, larger context window) is unchanged.CLAUDE_AUTOCOMPACT_PCT_OVERRIDE=60is hardcoded rather than parameterized (${VAR:-60}). This is fine — it is llama-specific tuning that does not need per-deployment override.CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS=1disables experimental beta features, reducing unexpected context overhead on the constrained llama window.CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFICandANTHROPIC_API_KEYis consistent with the surrounding variable grouping.Verdict
APPROVE — Correct targeted fix: two env vars added only to agents-llama container to prevent context window overruns
Reviewed at
07aa613| AGENTS.mdAI Review: APPROVE — Correct targeted fix: two env vars added only to agents-llama container to prevent context window overruns