Commit c4b8369
fix(providers): stop probing a models endpoint Antigravity does not serve
The google-antigravity entry ships a static ANTIGRAVITY_MODELS catalog
but omitted liveModels. A missing value reads as live, so discovery
built ${baseUrl}/models against an endpoint that does not implement it
and reported permanent failure. Inference worked the whole time, which
is what made the false negative confusing: the provider was fine and the
dashboard said it was not.
liveModels: false makes the static branch engage at
catalog/provider-fetch.ts:451, and management reports discovery as
disabled rather than failed at management/provider-routes.ts:84,:90.
The regression test forces a credential-bearing path on purpose. The
no-token OAuth fallback would short-circuit before any probe and let the
test pass with the flag removed — vacuous. Ablated: without the flag it
fails with 1 probe where 0 are expected.
Registry flag only, cherry-picked from PR #744 by @luvs01. That PR also
reworks OAuth reconciliation and persisted provider settings, which is a
maintainer security-review surface and is deliberately not included.
Co-authored-by: luvs01 <luvs01@users.noreply.github.com>1 parent d52aa68 commit c4b8369
2 files changed
Lines changed: 39 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
796 | 796 | | |
797 | 797 | | |
798 | 798 | | |
799 | | - | |
| 799 | + | |
800 | 800 | | |
801 | 801 | | |
802 | 802 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
0 commit comments