Commit e79cce1
Use dynamic API URL for Copilot model discovery
The /models endpoint fetch was still using the static config URL,
ignoring the dynamic api-url from the token response. This caused
401 errors during initialization for GHE users whose token is
scoped to a different API host.
Apply the same override pattern used in the chat request path.
Relates to #402
🤖 Generated with [eca](https://eca.dev)
Co-Authored-By: eca <git@eca.dev>1 parent bd2feed commit e79cce1
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
231 | | - | |
| 231 | + | |
| 232 | + | |
232 | 233 | | |
233 | 234 | | |
234 | 235 | | |
| |||
0 commit comments