fix: fix: review-pr CLAUDE_TIMEOUT should default to 15 min, not 2 hours (#590)
This commit is contained in:
parent
7406b8950d
commit
594677a040
1 changed files with 1 additions and 0 deletions
|
|
@ -227,6 +227,7 @@ PROMPT=$(cat "${REVIEW_TMPDIR}/prompt.md")
|
||||||
status "running review"
|
status "running review"
|
||||||
rm -f "$OUTPUT_FILE"
|
rm -f "$OUTPUT_FILE"
|
||||||
export CLAUDE_MODEL="sonnet"
|
export CLAUDE_MODEL="sonnet"
|
||||||
|
export CLAUDE_TIMEOUT="${CLAUDE_TIMEOUT:-900}" # 15 min — reviews shouldn't take longer
|
||||||
|
|
||||||
if [ "$IS_RE_REVIEW" = true ] && [ -n "$_AGENT_SESSION_ID" ]; then
|
if [ "$IS_RE_REVIEW" = true ] && [ -n "$_AGENT_SESSION_ID" ]; then
|
||||||
agent_run --resume "$_AGENT_SESSION_ID" --worktree "$WORKTREE" "$PROMPT"
|
agent_run --resume "$_AGENT_SESSION_ID" --worktree "$WORKTREE" "$PROMPT"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue