fix: bug: architect-run.sh uses old agent_run() signature, all pitches fail with "Input must be provided" (#690)
agent_run() now adds -p, --output-format, --max-turns, --dangerously-skip-permissions, and --model internally. The old call site passed these flags explicitly, causing the prompt to be parsed as "-p" and claude to error with "Input must be provided". Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
ad066326b9
commit
ef89b64f5f
1 changed files with 1 additions and 1 deletions
|
|
@ -516,7 +516,7 @@ ${pitch_context}
|
|||
|
||||
# Execute stateless claude -p call
|
||||
local pitch_output
|
||||
pitch_output=$(agent_run -p "$pitch_prompt" --output-format json --dangerously-skip-permissions --max-turns 200 ${CLAUDE_MODEL:+--model "$CLAUDE_MODEL"} 2>>"$LOGFILE") || true
|
||||
pitch_output=$(agent_run "$pitch_prompt" 2>>"$LOGFILE") || true
|
||||
|
||||
# Extract pitch content from JSON response
|
||||
local pitch
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue