Skip to content

docs(audit): reconcile Copilot SDK default-model inconsistency#18

Merged
SchwartzKamel merged 1 commit into
mainfrom
docs/audit-2026-05-followup-model-default
May 3, 2026
Merged

docs(audit): reconcile Copilot SDK default-model inconsistency#18
SchwartzKamel merged 1 commit into
mainfrom
docs/audit-2026-05-followup-model-default

Conversation

@SchwartzKamel

Copy link
Copy Markdown
Owner

Follow-up to PR #17 (todo docs-audit-2026-05-followup-model-default).

Ground truth

The Copilot SDK runner's default model is claude-sonnet-4.6, not claude-haiku-4.5:

  • src/Drederick/Agent/CopilotSdkAgentRunner.cs:18internal const string DefaultModelId = "claude-sonnet-4.6"; (assigned at line 73 when no explicit --model / DREDERICK_MODEL is provided).
  • src/Drederick/Agent/CopilotModelCompliance.cs:10-12PreferredToolCapableModelIds lists claude-sonnet-4.6 as the first entry, so SelectModel picks it as the preferred compliant model when no explicit model is requested.

What changed

Three doc spots claimed the default was claude-haiku-4.5 and contradicted both the code and two other doc spots that already said claude-sonnet-4.6. Reconciled all three to claude-sonnet-4.6:

  • docs/MODEL_BEHAVIOR.md:312 (compliance contract paragraph — the line ~311 mentioned in the audit flag)
  • AGENTS.md:91 (Commands table row for --agent)
  • AGENTS.md:117 (LLM/model guidance section)
  • .github/copilot-instructions.md:503 (model behavior bullet)

docs/LLM_SETUP.md and docs/JEOPARDY.md were already correct.

Discipline

  • Docs-only. No code changes.
  • CopilotPrices.cs keeping a claude-haiku-4.5 price entry is fine — that's a price table, not a default.

@SchwartzKamel SchwartzKamel merged commit bfe0576 into main May 3, 2026
3 checks passed
@SchwartzKamel SchwartzKamel deleted the docs/audit-2026-05-followup-model-default branch May 3, 2026 01:17
The Copilot SDK runner's default model is `claude-sonnet-4.6`, not
`claude-haiku-4.5`. Ground truth:

- src/Drederick/Agent/CopilotSdkAgentRunner.cs:18 — `internal const
  string DefaultModelId = "claude-sonnet-4.6";` (used at line 73 when
  no explicit model is provided).
- src/Drederick/Agent/CopilotModelCompliance.cs:10-12 —
  `PreferredToolCapableModelIds` lists `claude-sonnet-4.6` first, so
  `SelectModel` picks it as the preferred compliant model when no
  explicit model is requested.

Three doc spots claimed the default was `claude-haiku-4.5` and
contradicted both the runner default and two other doc spots that
already said `claude-sonnet-4.6`. Reconciled to match code:

- docs/MODEL_BEHAVIOR.md:312 (compliance contract paragraph)
- AGENTS.md:91 (Commands table for `--agent`)
- AGENTS.md:117 (LLM/model guidance section)
- .github/copilot-instructions.md:503 (model behavior bullet)

Docs-only change. No code changes.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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