fix: add model=opus to run-planner formula and wire through action-agent

TOML declares model = "opus". planner-poll.sh includes model: opus in
the issue YAML front matter. action-agent.sh extracts it and exports
CLAUDE_MODEL. create_agent_session passes --model to claude if set.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
openhands 2026-03-20 09:08:17 +00:00
parent 20dc185a28
commit 898f958196
4 changed files with 15 additions and 1 deletions

View file

@ -64,6 +64,7 @@ fi
# ── File action issue ─────────────────────────────────────────────────────
ISSUE_BODY="---
formula: run-planner
model: opus
---
Periodic strategic planning run. The action-agent reads \`formulas/run-planner.toml\`