fix: profile_write_journal passes --max-tokens which local llama claude CLI rejects #335
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
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: disinto-admin/disinto#335
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Problem
After every dev-qwen session, profile_write_journal calls claude with a --max-tokens flag that the local llama-backed claude CLI does not support:
This appears on every successful run. The journal still gets written (the error is non-fatal), but it adds noise to logs.
Fix
Remove the --max-tokens flag from the claude invocation in profile_write_journal. The max output length should be controlled by the prompt or --max-turns instead.
Affected files
Acceptance criteria