Commit 40f1144
authored
ci: bypass AI Gateway cache for Bonk reviews (#268)
Bonk routes through a Cloudflare AI Gateway. With response caching enabled
on the gateway, re-running `/bonk review` on a PR returns the first run's
cached completion, so the review stays stale even after new commits are
pushed (observed on #264 after a force-push: three re-runs all returned an
identical review of the pre-split code).
Inject cf-aig-skip-cache via OpenCode's provider.options.headers so every
model request bypasses the gateway cache and reflects the current PR.1 parent 7004cca commit 40f1144
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
39 | 43 | | |
40 | 44 | | |
41 | 45 | | |
| |||
0 commit comments