Skip to content

chore: centralize frontier OpenAI/Anthropic chat defaults - #38

Merged
chrisknvidia merged 13 commits into
mainfrom
chore/centralize-frontier-model-defaults
Aug 20, 2026
Merged

chrisknvidia merged 13 commits into
mainfrom
chore/centralize-frontier-model-defaults

Conversation

@chrisknvidia

@chrisknvidia chrisknvidia commented Aug 4, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Addresses OpenClaw review feedback that the OpenAI default (gpt-5.4-mini) should be a frontier model — deferred from docs PR docs: clarify README launch overview and NVIDIA Build quickstart #33 into its own change (Fixes chore: centralize and update OpenAI/Anthropic frontier chat defaults #37).
  • Centralizes chat defaults in provider_config (CHAT_DEFAULT_*, CHAT_CHEAP_OPENAI, CHAT_DEFAULT_MODELS); constants.DIMENSION_JUDGE_MODEL and llm_judge.DEFAULT_JUDGE_MODEL import from there. Harbor templates/eval.py keeps a local copy with drift tests.
  • Pinned IDs (overridable via SKILL_EVAL_LLM_MODEL):
    • OpenAI: gpt-5.6-sol
    • Anthropic: claude-opus-5
    • Bedrock: us.anthropic.claude-opus-5 (AWS US geo inference profile)
    • Cheap OpenAI option: gpt-5.4-mini (CHAT_CHEAP_OPENAI)
  • Normalizes bare and provider-prefixed gpt-5* IDs for both temperature compatibility and native OpenAI max_completion_tokens; raises dimension/insights judge max_tokens to 4096.
  • Omits unsupported sampling temperatures for Claude Opus 4.7+ and Claude 5 IDs across the shared client, LiteLLM/Bedrock path, and standalone Tier 3 verifier.

Documentation parity

  • Updated the Fern provider guide, CLI reference, Tier 3 guide, and environment-variable reference with the exact provider defaults and override behavior.
  • Updated the repository README so users do not have to enter the full docs site to discover a billable default-model change.
  • Kept gpt-5.4-mini documented as an explicit lower-cost override rather than a silent default.

Before / after

Surface Before After
OpenAI default gpt-5.4-mini gpt-5.6-sol
Anthropic default claude-sonnet-4-5 claude-opus-5
Bedrock default us.anthropic.claude-sonnet-4-5-20250929-v1:0 us.anthropic.claude-opus-5
README / env reference Exact defaults were not visible Exact defaults and SKILL_EVAL_LLM_MODEL override are visible

Opus 5 compatibility

  • Opus 5 uses adaptive thinking by default. The existing 4096-token judge limit remains a hard total-output limit, including thinking tokens.
  • Non-default temperature, top_p, and top_k values are unsupported on current Opus models; this PR omits the configured temperature at every covered outbound request boundary.
  • Existing Opus 4.8 compatibility cases remain covered; only the public default changes to Opus 5.

Test plan

  • Provider, agent-routing, shared-client, judge, standalone-template, packaging: 301 passed
  • Full repository suite: 3810 passed, 12 skipped, 4 deselected (one explicit deselection because a pre-existing local Harbor viewer owns fixed port 127.0.0.1:18080; three repository-default deselections)
  • uv run --frozen ruff check src tests
  • uv lock --check
  • fern check (0 errors, 1 warning)
  • Build wheel and source archive; strict Twine validation passed for both
  • Paid Anthropic and Bedrock calls were not run; request construction, model routing, token limits, and serialization were exercised locally without provider cost

Pin public chat defaults to gpt-5.5 / claude-opus-4-8 (Bedrock
us.anthropic.claude-opus-4-8), keep gpt-5.4-mini as the documented cheap
OpenAI override, and harden gpt-5* judge temperature/token handling.
Addresses OpenClaw review feedback deferred from #33.

Fixes #37

Signed-off-by: Christopher Kevin <[email protected]>

@rng1995 rng1995 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

The model-default centralization and temperature handling look coherent, but this branch currently has one blocking OSS-boundary CI issue.

Comment thread tests/test_provider_config.py Resolved
Signed-off-by: Narendran Raghavan <[email protected]>
rng1995
rng1995 previously approved these changes Aug 5, 2026

@rng1995 rng1995 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Approved after the OSS-boundary allowlist issue was fixed in 9f7bef4, the thread was resolved, and the full GitHub check matrix passed.

@rng1995 rng1995 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Fresh review found two actionable issues in the OpenAI default/parameter migration. The existing OSS-boundary thread is already fixed and resolved; I will address these new findings and then update the branch from current main.

Comment thread src/skillevaluator/provider_config.py Resolved
…tier-model-defaults

Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
rng1995
rng1995 previously approved these changes Aug 12, 2026

@rng1995 rng1995 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Approved after fresh review and remediation. Both new P1 findings are fixed in bbbeae3, all review threads are resolved, the branch is current with main and conflict-free, local targeted/full/package/boundary verification passed, and the complete GitHub check matrix is green.

…tier-model-defaults

Signed-off-by: Narendran Raghavan <[email protected]>

# Conflicts:
#	CHANGELOG.md
#	config/oss_boundary_allowlist.json
rng1995
rng1995 previously approved these changes Aug 12, 2026

@rng1995 rng1995 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Approved on final head after updating from current main. Both conflicts are resolved, all review threads remain resolved, focused verification passes (404 tests), the full suite passes (3,669 passed, 13 skipped, 3 deselected), package and source/archive OSS-boundary checks pass, all 15 GitHub checks are green, and fresh merge-tree/GitHub audits report the PR conflict-free.

rng1995
rng1995 previously approved these changes Aug 18, 2026
…tier-model-defaults

Signed-off-by: Narendran Raghavan <[email protected]>

# Conflicts:
#	CHANGELOG.md
rng1995
rng1995 previously approved these changes Aug 18, 2026
@rng1995

rng1995 commented Aug 20, 2026 •

Copy link
Copy Markdown
Collaborator

@chrisknvidia - Can we use Claude-Opus-5 instead of claude-opus-4-8? In-terms of cost, both are similar, not a big difference. But Opus 5 is better than Opus 4.8

…8-runtime-payload

Signed-off-by: Christopher Kevin <[email protected]>

# Conflicts:
#	CHANGELOG.md
@chrisknvidia

Copy link
Copy Markdown
Collaborator Author

Updated in f27086c: the Anthropic default is now claude-opus-5 and the Bedrock US default is us.anthropic.claude-opus-5. Existing Opus 4.8 compatibility coverage remains, and Opus 5 request tests verify the 4096-token limit plus omission of unsupported temperature parameters across the shared client and standalone Anthropic/Bedrock verifier paths. The branch is also current with main. Local verification: 301 focused tests; full suite 3810 passed, 12 skipped, 4 deselected (one explicit fixed-port deselection because a local Harbor viewer owns 127.0.0.1:18080); Ruff, Fern, lock, build, and strict Twine checks passed. No paid Anthropic or Bedrock call was made.

@rng1995 rng1995 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks @chrisknvidia for updating the Claude model to Opus 5!

@chrisknvidia
chrisknvidia merged commit 1cec101 into main Aug 20, 2026
23 of 24 checks passed
@chrisknvidia
chrisknvidia deleted the chore/centralize-frontier-model-defaults branch August 20, 2026 20:57
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.

chore: centralize and update OpenAI/Anthropic frontier chat defaults

2 participants