docs(audit): reconcile Copilot SDK default-model inconsistency#18
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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, notclaude-haiku-4.5:src/Drederick/Agent/CopilotSdkAgentRunner.cs:18—internal const string DefaultModelId = "claude-sonnet-4.6";(assigned at line 73 when no explicit--model/DREDERICK_MODELis provided).src/Drederick/Agent/CopilotModelCompliance.cs:10-12—PreferredToolCapableModelIdslistsclaude-sonnet-4.6as the first entry, soSelectModelpicks it as the preferred compliant model when no explicit model is requested.What changed
Three doc spots claimed the default was
claude-haiku-4.5and contradicted both the code and two other doc spots that already saidclaude-sonnet-4.6. Reconciled all three toclaude-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.mdanddocs/JEOPARDY.mdwere already correct.Discipline
CopilotPrices.cskeeping aclaude-haiku-4.5price entry is fine — that's a price table, not a default.