Skip to content

Commit 069a247

Browse files
CopilotlpcoxCopilot
authored
Pin Duplicate Code Detector to priced Copilot model to avoid unknown-model AI credit failures (#4942)
* Initial plan * fix: pin duplicate-code-detector to priced copilot model * Recompile lockfile to include agent_model in metadata The compiler now correctly emits agent_model:gpt-5.4-mini in the metadata header, consistent with other pinned-model workflows. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: Landon Cox <landon.cox@microsoft.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 7649c7e commit 069a247

2 files changed

Lines changed: 22 additions & 45 deletions

File tree

.github/workflows/duplicate-code-detector.lock.yml

Lines changed: 18 additions & 45 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/duplicate-code-detector.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ tools:
2525
toolsets: [issues]
2626
bash: true
2727

28+
engine:
29+
id: copilot
30+
model: gpt-5.4-mini
31+
2832
safe-outputs:
2933
threat-detection:
3034
enabled: false

0 commit comments

Comments
 (0)