Commit 8fcf2f0
committed
feat: add CF Gateway auth header to custom OpenAI-compatible client
When CF_GATEWAY_AUTH_TOKEN is set, inject cf-aig-authorization header
into the custom client so CF Gateway-proxied custom providers (e.g.
custom-ollama) authenticate correctly at the gateway layer.1 parent 32af03a commit 8fcf2f0
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
268 | 268 | | |
269 | 269 | | |
270 | 270 | | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
271 | 274 | | |
272 | 275 | | |
273 | 276 | | |
| 277 | + | |
274 | 278 | | |
275 | 279 | | |
276 | 280 | | |
| |||
0 commit comments