Commit 4681e04
fix: add explicit model for Copilot BYOK smoke test (#2006)
* fix: add explicit model for Copilot BYOK mode
Copilot CLI requires --model when running in BYOK/offline mode.
Without it, all attempts fail with: 'BYOK providers require an
explicit model.'
Set COPILOT_MODEL=gpt-4.1 in workflow env and override the
compiler's empty default fallback in the lock file.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* fix: inject Copilot-Integration-Id header in api-proxy
api.githubcopilot.com requires the Copilot-Integration-Id header.
In BYOK mode, the Copilot CLI sends plain OpenAI-compatible
requests without Copilot-specific headers. The api-proxy sidecar
must inject this header when proxying to the Copilot API.
Uses 'copilot-developer-cli' as the default integration ID,
matching the Copilot CLI's own value. Configurable via
COPILOT_INTEGRATION_ID env var.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* feat: align BYOK smoke test with copilot smoke test workload
- Add GitHub.com connectivity check and pre-fetched PR data comparison
- Add all 4 test sections: MCP, connectivity, file I/O, BYOK inference
- Update model from gpt-4.1 to gpt-5.4
- Recompile and post-process lock file
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* fix: switch BYOK model to gpt-5.3-codex
gpt-5.4 returns 400 on tools[5].function.name empty string,
likely a stricter validation in that model. Try gpt-5.3-codex.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* fix: recompile lock file for gpt-5.3-codex model change
Previous commit only patched the lock file without recompiling,
causing frontmatter hash mismatch at runtime.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* fix: switch BYOK model to claude-opus-4.6
gpt-5.3-codex is not accessible via /chat/completions endpoint.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* chore: bump Copilot CLI to 1.0.28 for BYOK testing
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 2277b4b commit 4681e04
File tree
3 files changed
+70
-22
lines changed- .github/workflows
- containers/api-proxy
3 files changed
+70
-22
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| |||
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
53 | 66 | | |
54 | 67 | | |
55 | 68 | | |
| |||
60 | 73 | | |
61 | 74 | | |
62 | 75 | | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
63 | 80 | | |
64 | 81 | | |
65 | 82 | | |
| 83 | + | |
| 84 | + | |
66 | 85 | | |
67 | 86 | | |
68 | 87 | | |
| |||
105 | 124 | | |
106 | 125 | | |
107 | 126 | | |
108 | | - | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
109 | 137 | | |
110 | 138 | | |
111 | 139 | | |
112 | 140 | | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
| 141 | + | |
117 | 142 | | |
118 | 143 | | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
119 | 150 | | |
120 | 151 | | |
121 | 152 | | |
122 | | - | |
| 153 | + | |
| 154 | + | |
123 | 155 | | |
124 | 156 | | |
125 | 157 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| 81 | + | |
81 | 82 | | |
82 | 83 | | |
83 | 84 | | |
| |||
337 | 338 | | |
338 | 339 | | |
339 | 340 | | |
340 | | - | |
| 341 | + | |
341 | 342 | | |
342 | 343 | | |
343 | 344 | | |
| |||
1012 | 1013 | | |
1013 | 1014 | | |
1014 | 1015 | | |
| 1016 | + | |
1015 | 1017 | | |
1016 | 1018 | | |
1017 | 1019 | | |
1018 | 1020 | | |
1019 | 1021 | | |
1020 | 1022 | | |
| 1023 | + | |
1021 | 1024 | | |
1022 | 1025 | | |
1023 | 1026 | | |
1024 | 1027 | | |
1025 | 1028 | | |
1026 | 1029 | | |
| 1030 | + | |
1027 | 1031 | | |
1028 | 1032 | | |
1029 | 1033 | | |
| |||
0 commit comments