Skip to content

Restore OpenHands xhigh propagation after PR #911#920

Closed
bingran-you wants to merge 4 commits into
mainfrom
bry/openhands-xhigh-wire-config
Closed

Restore OpenHands xhigh propagation after PR #911#920
bingran-you wants to merge 4 commits into
mainfrom
bry/openhands-xhigh-wire-config

Conversation

@bingran-you

Copy link
Copy Markdown
Collaborator

Summary

Production evidence

A 72-row GPT-5.6-SOL/OpenHands batch recorded reasoning.effort=high on every audited provider response even though both xhigh env variables were present. The only material difference from the known-good canaries was that those canaries ran before commit 9c114d3 removed the OpenHands-side setting. Direct Azure probes up to concurrency 16 returned xhigh on every successful response, isolating the downgrade to the agent/proxy request path rather than the provider.

Validation

  • uv run pytest -q tests/test_agent_registry.py (26 passed)
  • focused Daytona PTY timeout tests (2 passed)
  • uv run ruff check src/benchflow/agents/registry.py tests/test_agent_registry.py
  • git diff --check

A fresh Daytona xhigh canary will gate resuming official experiment rows.

@bingran-you bingran-you temporarily deployed to pypi-internal-preview July 11, 2026 20:34 — with GitHub Actions Inactive
@bingran-you

Copy link
Copy Markdown
Collaborator Author

Superseded by #921. PR #920 inherited pre-merge PR #911 history; the replacement is a clean two-file diff from current main.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: cc784ef31b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +935 to +938
'if [ -n "$LLM_REASONING_EFFORT" ]; then '
'printf \',"reasoning_effort":"%s",'
'"litellm_extra_body":{"reasoning_effort":"%s"}\' '
'"$LLM_REASONING_EFFORT" "$LLM_REASONING_EFFORT"; fi; '

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Wire BenchFlow reasoning_effort into OpenHands env

When OpenHands runs are configured through BenchFlow's reasoning_effort field/--reasoning-effort, the value is passed separately to connect_acp(..., reasoning_effort=...) and is not added to agent_env as LLM_REASONING_EFFORT; because OpenHands has no acp_effort_config_id, _configure_acp_session then fails closed instead of reaching this launcher branch. This means the new xhigh settings only work for callers who manually duplicate the value as --agent-env LLM_REASONING_EFFORT=xhigh, so the normal experiment/config path for OpenHands xhigh remains broken.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant