Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Feb 11, 2026

Bot-detection workflow was missing explicit model configuration, causing it to fall back to environment variables or defaults for both agent and detection steps.

Changes

  • Added engine configuration to bot-detection.md frontmatter:
    engine:
      id: copilot
      model: gpt-5.1-codex-mini

This ensures both the agent job and detection job explicitly use gpt-5.1-codex-mini via --model flag in the compiled workflow, matching the pattern used by other workflows (ai-moderator, security-guard, ci-doctor).


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI changed the title [WIP] Update bot detection agent to use gpt-5.1-codex-mini Configure bot-detection to use gpt-5.1-codex-mini for agent and detection jobs Feb 11, 2026
Copilot AI requested a review from pelikhan February 11, 2026 23:16
@pelikhan pelikhan marked this pull request as ready for review February 11, 2026 23:18
Copilot AI review requested due to automatic review settings February 11, 2026 23:18
@pelikhan pelikhan merged commit f4a6e16 into main Feb 11, 2026
119 checks passed
@pelikhan pelikhan deleted the copilot/update-bot-detection-agent branch February 11, 2026 23:18
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR pins the model used by the bot-detection agent workflow so it no longer falls back to environment variables/defaults, ensuring consistent execution across both the agent and detection jobs.

Changes:

  • Added engine.id and engine.model frontmatter to the source workflow (bot-detection.md).
  • Updated the compiled workflow (bot-detection.lock.yml) to pass --model gpt-5.1-codex-mini for both agent and detection runs and to set GH_AW_ENGINE_MODEL.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.github/workflows/bot-detection.md Adds explicit Copilot engine/model configuration in workflow frontmatter.
.github/workflows/bot-detection.lock.yml Regenerates compiled workflow to consistently use the pinned model in all relevant steps.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

2 participants