Skip to content

Fix P2P simulator defaults and Sonnet 5 thinking - #57

Merged
haolin-chen-actava merged 2 commits into
mainfrom
codex/fix-p2p-sonnet-5
Oct 7, 2026
Merged

haolin-chen-actava merged 2 commits into
mainfrom
codex/fix-p2p-sonnet-5

Conversation

@haolin-chen-actava

@haolin-chen-actava haolin-chen-actava commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

P2P sessions failed with a 404 when the default sonnet alias selected the retired claude-sonnet-4-20250514. With claude-sonnet-5, replies failed because adaptive thinking returned a ThinkingBlock where the parser expected text. Harbor Hub also forwards an omitted simulator override as an empty string, which previously bypassed the default.

Treat unset and empty overrides as sonnet, map that alias to claude-sonnet-5, and pass thinking={"type": "disabled"} for that model. Preserve the 512-token budget and explicit non-empty overrides. Add regressions for both P2P roles across unset, empty, alias, explicit Sonnet 5, and Haiku settings; update README and the CLAUDE.md simulator note.

Validation:

  • uv run pytest -q --tb=short: 268 passed, 3 skipped, 1 deselected.
  • Ruff lint and format checks pass across src/ and tests/.
  • Live service send_turn checks on pa_t031_t031_o001_p01_p2p_payer succeeded with both unset and empty overrides.
  • Full Claude Code reproduction at 98a2ea2, with agent model anthropic/claude-sonnet-5 and the FAQ .env: four successful P2P turns, zero P2P tool errors, verifier reward 1.0. The empty-value follow-up at 00eded2 was verified by the separate live service check above.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-07T22:42:38.705316Z 98a2ea2 PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@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: 98a2ea2259

ℹ️ 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 thread src/chi_bench/services/p2p.py
@haolin-chen-actava
haolin-chen-actava merged commit d465596 into main Oct 7, 2026
9 checks passed
@haolin-chen-actava
haolin-chen-actava deleted the codex/fix-p2p-sonnet-5 branch October 7, 2026 22:46
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.

2 participants