fix: fix: profile_write_journal passes --max-tokens which local llama claude CLI rejects (#335) #338

Merged
dev-bot merged 1 commit from fix/issue-335 into main 2026-04-07 08:14:02 +00:00

View file

@ -253,7 +253,6 @@ Write the complete, rewritten lessons-learned.md content below. No preamble, no
output=$(claude -p "$digest_prompt" \
--output-format json \
--dangerously-skip-permissions \
--max-tokens 1000 \
${model:+--model "$model"} \
2>>"$LOGFILE" || echo '{"result":"error"}')
@ -448,7 +447,6 @@ Write the journal entry below. Use markdown format."
output=$(claude -p "$reflection_prompt" \
--output-format json \
--dangerously-skip-permissions \
--max-tokens 500 \
${CLAUDE_MODEL:+--model "$CLAUDE_MODEL"} \
2>>"$LOGFILE" || echo '{"result":"error"}')