ARTEX/web
BaaRai 6568a8eb44 fix(llm): record breaker health on every task LLM path
The /system/llm/ badge read llm_profile_health, which only the failover
Pool wrote. A task pinned to an explicit chain, a bound agent with
failover off, and the global provider all call the provider directly, so
a dead backend stayed "Healthy".

One policy now lives in llmpool.Registry.RecordCall, used by the Pool and
by the task runtimes: a success clears the state, a failover-eligible
failure trips it, context cancellation and deterministic 400s do not, and
a stream that already delivered output is left alone. The selection
carries the profile whose breaker the call updates, and a provider
already wrapped in the Pool reports nothing to avoid double counting.

The LLM recording page also explains an empty list while the llm_record
toggle is off, after the settings call resolves.

Originally reported in #257.
2026-11-18 01:31:18 +01:00
..
.husky chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
media chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
public chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
scripts fix: enforce 512 MiB uploads across client and proxy 2026-11-17 02:03:57 +00:00
src fix(llm): record breaker health on every task LLM path 2026-11-18 01:31:18 +01:00
.gitignore chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
biome.json chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
components.json chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
LICENSE chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
next.config.mjs Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
package-lock.json chore(web): upgrade next to 16.4.6 2026-11-15 14:35:21 +01:00
package.json fix: enforce 512 MiB uploads across client and proxy 2026-11-17 02:03:57 +00:00
postcss.config.mjs chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
tsconfig.json chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
tsconfig.scripts.json chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00