Commit Graph

16115 Commits

Author SHA1 Message Date
Extra Small 42e1d489fd fix(auth): use shorter backoff for auth_permanent failures
auth_permanent errors (e.g. API_KEY_INVALID) can be caused by transient
provider outages rather than genuinely revoked credentials. Previously
these used the same 5h-24h billing backoff, which left providers disabled
long after the upstream issue resolved.

Introduce separate authPermanentBackoffMinutes (default: 10) and
authPermanentMaxMinutes (default: 60) config options so auth_permanent
failures recover in minutes rather than hours.

Fixes #56838
2026-04-04 02:35:27 +09:00
Peter Steinberger 68edc53090
test: trim doctor and gateway partial mocks 2026-04-03 18:33:47 +01:00
Peter Steinberger fb9be1fcb6
test: trim models and cron partial mocks 2026-04-03 18:33:47 +01:00
Peter Steinberger 1c16c6a94a
test: split inbound contract helpers 2026-04-03 18:33:46 +01:00
Peter Steinberger d6e89f96d6
refactor: share gateway config auth helpers 2026-04-04 02:29:29 +09:00
Vincent Koc 646e271c72 test(contracts): split provider wizard lanes 2026-04-04 02:29:00 +09:00
Vincent Koc 71de4adcce test(contracts): split bundled web search lanes 2026-04-04 02:28:15 +09:00
Vincent Koc 22fd61e483 test(contracts): split plugin registration lanes 2026-04-04 02:26:39 +09:00
Vincent Koc 7ad72281f7 refactor(providers): share pi openai reasoning compat gate 2026-04-04 02:25:10 +09:00
Vincent Koc bee60a479b test(contracts): fix tts provider fixtures 2026-04-04 02:24:28 +09:00
Peter Steinberger 5fbef0f914
fix(ci): resolve tracked merge markers 2026-04-03 18:22:03 +01:00
Peter Steinberger be9db66533 fix: split discord voice timeouts and restore gate on main (#60345) (thanks @geekhuashan) 2026-04-04 02:21:43 +09:00
Vincent Koc 136f177cb3 test(contracts): split provider contract lanes 2026-04-04 02:20:35 +09:00
Peter Steinberger 7fd9e40960 fix: tighten gateway shared-auth disconnects (#60387) (thanks @mappel-nv) 2026-04-04 02:20:22 +09:00
Michael Appel c742963fd9 Gateway: avoid secret-ref auth disconnect churn 2026-04-04 02:20:22 +09:00
Michael Appel 97558f2325 Gateway: expand shared-auth rotation coverage 2026-04-04 02:20:22 +09:00
Michael Appel 54b269b2cb Gateway: disconnect shared-auth sessions on auth change 2026-04-04 02:20:22 +09:00
Peter Steinberger e0580e6863
test: harden shared-worker runtime setup 2026-04-03 18:18:56 +01:00
Peter Steinberger 2981cce130
fix: align config and plugin test types 2026-04-03 18:18:56 +01:00
Vincent Koc ff68fd3060 refactor(providers): share completions format defaults 2026-04-04 02:18:12 +09:00
Vincent Koc 514b37e185 fix(providers): keep native modelstudio streaming usage compat 2026-04-04 02:15:46 +09:00
Vincent Koc feed4007fe test(contracts): localize surface registry helpers 2026-04-04 02:15:01 +09:00
Vincent Koc dd42154e45 fix(providers): stop forcing reasoning effort on proxy completions 2026-04-04 02:14:10 +09:00
Vincent Koc 7836c9a6c2 fix(providers): stop forcing store on proxy completions 2026-04-04 02:12:59 +09:00
Vincent Koc f575bc2bfe test(ci): harden proxy-sensitive and timeout unit tests 2026-04-04 02:12:00 +09:00
Vincent Koc b871707628 test(contracts): localize remaining suite helpers 2026-04-04 02:11:44 +09:00
Vincent Koc 50d85dcd59 refactor(providers): share openai compat defaults 2026-04-04 02:10:24 +09:00
Vincent Koc c5a45eb274 test(contracts): localize registry-backed contract helpers 2026-04-04 02:09:25 +09:00
Vincent Koc f1911274aa test(contracts): localize surface and session binding helpers 2026-04-04 02:06:38 +09:00
Tak Hoffman b2a9e0d7a7
fix: honor setup binary path account overrides 2026-04-03 11:54:21 -05:00
Vincent Koc eec6f59a77 fix(providers): disable z.ai strict tool shaping 2026-04-04 01:50:55 +09:00
Vincent Koc 745f1c9812 fix(types): align callers with removed legacy config aliases 2026-04-04 01:50:44 +09:00
Tak Hoffman 51f6bc4940
fix: honor selected account in setup status 2026-04-03 11:50:09 -05:00
huntharo c4f40c3f7d Plugins: allow unsafe-force override on update 2026-04-04 01:49:35 +09:00
Vincent Koc 824ff335c6 fix(providers): align custom transport compat defaults 2026-04-04 01:48:00 +09:00
Vincent Koc 54e8790ad7 fix(providers): honor moonshot transport compat 2026-04-04 01:45:19 +09:00
Shakker 33d54e93b8
test: keep legacy tts contract fixtures typed 2026-04-03 17:43:55 +01:00
Shakker 21002a60be
test: align legacy streaming config coverage 2026-04-03 17:43:55 +01:00
Shakker 06b2e8b79a
test: satisfy xai transport model typing 2026-04-03 17:43:17 +01:00
Peter Steinberger a5e725a3b8
test: align vitest defaults with migrated config 2026-04-03 17:42:48 +01:00
Shakker bc46c1dacc test: restore secrets suite isolation cleanup 2026-04-03 17:38:05 +01:00
Peter Steinberger b118efea80
test: split reply flow coverage by owner surface 2026-04-03 17:35:01 +01:00
Vincent Koc 2a19771c3c test(contracts): split plugins-core lanes 2026-04-04 01:30:48 +09:00
Peter Steinberger a1cad12139
fix(ci): restore compat config types 2026-04-03 17:29:43 +01:00
Vincent Koc c7a947dc0a fix(config): remove legacy config aliases from public schema 2026-04-04 01:24:14 +09:00
Vincent Koc 6ac5806a39
fix(providers): honor mistral transport compat (#60405) 2026-04-04 01:21:41 +09:00
Vincent Koc 9dba944c42 fix(build): restore current main type gates 2026-04-04 01:20:25 +09:00
Vincent Koc 4c969391fe test(contracts): split plugins-core extension lanes 2026-04-04 01:18:54 +09:00
Vincent Koc 8ffd1c0973 test(contracts): split outbound payload contract lanes 2026-04-04 01:17:58 +09:00
Vincent Koc 1f509e0e04 test(contracts): split setup and status contract lanes 2026-04-04 01:16:38 +09:00