Skip to content

Commit 569dc00

Browse files
christsoclaude
andcommitted
feat(ci): use COPILOT_MODEL env var for copilot targets
Copilot CLI accepts --model to set the AI model. Use a separate COPILOT_MODEL env var (default: gpt-5-mini) for copilot-cli and copilot-sdk targets instead of reusing GH_MODELS_MODEL. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 48115dd commit 569dc00

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.agentv/targets.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ targets:
1111

1212
- name: copilot-cli
1313
provider: copilot-cli
14-
model: ${{ GH_MODELS_MODEL }}
14+
model: ${{ COPILOT_MODEL }}
1515
grader_target: default
1616
log_format: json
1717

1818
- name: copilot-sdk
1919
provider: copilot-sdk
20-
model: ${{ GH_MODELS_MODEL }}
20+
model: ${{ COPILOT_MODEL }}
2121
grader_target: default
2222
log_format: json
2323

.github/workflows/evals.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ jobs:
3131
cat > .env <<EOF
3232
GH_MODELS_TOKEN=${{ secrets.GH_MODELS_TOKEN || secrets.GITHUB_TOKEN }}
3333
GH_MODELS_MODEL=${{ vars.GH_MODELS_MODEL || 'openai/gpt-5-mini' }}
34+
COPILOT_MODEL=${{ vars.COPILOT_MODEL || 'gpt-5-mini' }}
3435
EOF
3536
3637
- name: Resolve filter and threshold

0 commit comments

Comments
 (0)