fix: profile_write_journal passes --max-tokens which local llama claude CLI rejects (#335)
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful

This commit is contained in:
Agent 2026-04-07 08:09:42 +00:00
parent b0e789470e
commit 52294a2efc

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"}')