Skip to content

chore: centralize and update OpenAI/Anthropic frontier chat defaults #37

Closed

Description

@chrisknvidia

Context

OpenClaw review feedback on the launch docs / provider defaults:

Default model for OAI is gpt-5.4-mini, seems like it should be latest frontier?

This was deferred from the README launch-clarity work on #33 so that model selection can land as its own focused change (not bundled with docs-only PR #33).

Goal

  1. Raise the OpenAI chat default from the lower-cost mini ID to a pinned frontier model.
  2. Raise the Anthropic chat default to Opus 4.8 (public Anthropic API ID).
  3. Centralize hardcoding — one source of truth for chat defaults; other modules import/consume it. The Harbor sandbox template cannot import the package, so keep a local copy and guard with a drift test.
  4. Keep an explicit lower-cost OpenAI option documented (gpt-5.4-mini via SKILL_EVAL_LLM_MODEL / a named cheap constant).
  5. Ensure code paths work for these defaults (temperature guard for bare gpt-5*, judge token budgets ≥4096 for reasoning models).

Chosen pinned IDs

These are intentionally pinned concrete IDs (not floating aliases like gpt-5 / claude-opus-latest). They are overridable via SKILL_EVAL_LLM_MODEL.

Provider Default model ID Notes
OpenAI gpt-5.5 Frontier default; was gpt-5.4-mini
Anthropic claude-opus-4-8 Public Anthropic API form already used elsewhere in-repo (CONTENT_DEDUP_LLM_DEFAULT_MODEL / LLM_VERIFY_MODEL Azure-prefixed variants)
Bedrock us.anthropic.claude-opus-4-8 Matching US geo inference profile from AWS Bedrock docs
OpenAI (cheap) gpt-5.4-mini Documented lower-cost override via SKILL_EVAL_LLM_MODEL / CHAT_CHEAP_OPENAI

Acceptance criteria

  • Single module of record exports chat defaults (CHAT_DEFAULT_*, CHAT_CHEAP_OPENAI, CHAT_DEFAULT_MODELS)
  • constants.DIMENSION_JUDGE_MODEL and llm_judge.DEFAULT_JUDGE_MODEL import from that module
  • Harbor templates/eval.py keeps a local copy + drift test against the central constant
  • _supports_custom_temperature handles bare gpt-5* (and prefixed forms)
  • Dimension/insights judge max_tokens ≥ 4096
  • Docs + tests that asserted the old default strings are updated
  • Focused tests pass (provider_config, llm_client, packaging, judge, agent routing)

Out of scope

Activity

  1. added a commit that references this issue on Aug 20, 2026
    1cec101
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions