7.4 billion tokens per month. 34 free LLM providers. 635 free model endpoints. All behind one /v1 endpoint, plus any custom OpenAI-compatible endpoint. Smart routing, automatic failover, encrypted keys. Personal experimentation only.
TypeScript
feat(routing): configurable minimum-reliability floor to drop flaky models (#filter) (#1309)
suantea (asuan_suan)2c8bd75ee750
diff --git a/client/src/components/reliability-floor-control.tsx b/client/src/components/reliability-floor-control.tsxnew file mode 100644index 00000000..57a2aaea--- /dev/null+++ b/client/src/components/reliability-floor-control.tsx@@ -0,0 +1,63 @@+import { useEffect, useState } from 'react'+import { useQuery, useMutation, useQueryClient } from '@tanstack/react-query'+import { useI18n } from '@/i18n'+import { apiFetch } from '@/lib/api'+import { Tooltip } from '@/components/tooltip'++// Minimum reliability floor (#filter): drop models whose observed success rate+// falls below this decimal from routing. Independent of the routing-strategy+// snapshot — it lives in settings, so it has its own query + mutation.+async function fetchFloor(): Promise<number | null> {+ const data = await apiFetch<{ floor: number | null }>('/api/settings/min-reliability-floor')+ return data.floor+}++export function ReliabilityFloorControl() {+ const { t } = useI18n()+ const queryClient = useQueryClient()+ const { data } = useQuery({ queryKey: ['settings', 'min-reliability-floor'], queryFn: fetchFloor })+ const floor = data ?? null++ const [text, setText] = useState(floor == null ? '' : String(floor))+ // Re-sync when the server value changes under us (poll, or another tab).+ useEffect(() => { setText(floor == null ? '' : String(floor)) }, [floor])++ const mutation = useMutation({+ mutationFn: (value: number | null) =>+ apiFetch('/api/settings/min-reliability-floor', {+ method: 'PUT',+ body: JSON.stringify({ floor: value }),+ }),+ onSuccess: () => queryClient.invalidateQueries({ queryKey: ['settings', 'min-reliability-floor'] }),+ })++ const invalid = text !== '' && (!/^0?\.\d+$|^1(\.0+)?$|^0$/.test(text) || Number(text) > 1)++ function commit(next: string) {+ setText(next)+ if (next === '') { mutation.mutate(null); return }+ const n = Number(next)+ if (Number.isFinite(n) && n >= 0 && n <= 1) mutation.mutate(n)+ }++ return (+ <label className="inline-flex items-center gap-2 text-xs text-muted-foreground">+ <span>{t('strategies.minReliabilityFloor')}</span>+ <input+ type="number"+ min={0}+ max={1}+ step={0.05}+ value={text}+ placeholder={t('strategies.minReliabilityFloorOff')}+ disabled={mutation.isPending}+ onChange={e => commit(e.target.value)}+ className="w-16 rounded-lg border bg-background px-2 py-1.5 text-xs text-foreground tabular-nums outline-none focus:border-foreground/30"+ />+ <Tooltip text={t('strategies.minReliabilityFloorHint')}>+ <span className="cursor-help underline decoration-dotted underline-offset-2">?</span>+ </Tooltip>+ {invalid && <span className="text-destructive">0–1</span>}+ </label>+ )+}diff --git a/client/src/i18n/locales/am.json b/client/src/i18n/locales/am.jsonindex 9b042e58..0d123a11 100644--- a/client/src/i18n/locales/am.json+++ b/client/src/i18n/locales/am.json@@ -344,7 +344,10 @@"weightSpeed": "ፍጥነት","weightIntelligence": "አእምሮ","weightRequired": "ቢያንስ አንድ ክብደት ከዜሮ በላይ መሆን አለበት.",- "scoreColumn": "ውጤት"+ "scoreColumn": "ውጤት",+ "minReliabilityFloor": "Minimum reliability floor",+ "minReliabilityFloorHint": "Drop a model from routing once its observed success rate falls below this. 0.8 means 80%. Leave blank to disable — models with too little history are always kept so new models can still be tried. Never empties the whole chain.",+ "minReliabilityFloorOff": "Disabled"},"penaltyInspector": {"title": "የራውተር ግፊት",diff --git a/client/src/i18n/locales/ar.json b/client/src/i18n/locales/ar.jsonindex 64da542a..877a208f 100644--- a/client/src/i18n/locales/ar.json+++ b/client/src/i18n/locales/ar.json@@ -344,7 +344,10 @@"weightSpeed": "السرعة","weightIntelligence": "الذكاء","weightRequired": "يجب أن يكون وزن واحد على الأقل أعلى من الصفر.",- "scoreColumn": "النتيجة"+ "scoreColumn": "النتيجة",+ "minReliabilityFloor": "الحد الأدنى للموثوقية",+ "minReliabilityFloorHint": "يستبعد النموذج من التوجيه عندما تنخفض نسبة نجاحه المرصودة دون هذه القيمة. 0.8 تعني 80٪. اتركه فارغًا للتعطيل — تُحفظ دائمًا النماذج ذات السجلّ القليل حتى تظل النماذج الجديدة قابلة للتجربة. لا يُفرِّغ السلسلة كاملة أبدًا.",+ "minReliabilityFloorOff": "معطّل"},"penaltyInspector": {"title": "ضغط جهاز التوجيه",diff --git a/client/src/i18n/locales/az.json b/client/src/i18n/locales/az.jsonindex 06cdc180..6499e162 100644--- a/client/src/i18n/locales/az.json+++ b/client/src/i18n/locales/az.json@@ -344,7 +344,10 @@"weightSpeed": "Sürət","weightIntelligence": "Kəşfiyyat","weightRequired": "Ən azı bir ağırlıq sıfırdan yuxarı olmalıdır.",- "scoreColumn": "Musiqi"+ "scoreColumn": "Musiqi",+ "minReliabilityFloor": "Minimum reliability floor",+ "minReliabilityFloorHint": "Drop a model from routing once its observed success rate falls below this. 0.8 means 80%. Leave blank to disable — models with too little history are always kept so new models can still be tried. Never empties the whole chain.",+ "minReliabilityFloorOff": "Disabled"},"penaltyInspector": {"title": "Router təzyiqi",diff --git a/client/src/i18n/locales/bg.json b/client/src/i18n/locales/bg.jsonindex 8db26595..6c665c5f 100644--- a/client/src/i18n/locales/bg.json+++ b/client/src/i18n/locales/bg.json@@ -344,7 +344,10 @@"weightSpeed": "Скорост","weightIntelligence": "Разузнаване","weightRequired": "Поне едно тегло трябва да е над нула.",- "scoreColumn": "Партитура"+ "scoreColumn": "Партитура",+ "minReliabilityFloor": "Minimum reliability floor",+ "minReliabilityFloorHint": "Drop a model from routing once its observed success rate falls below this. 0.8 means 80%. Leave blank to disable — models with too little history are always kept so new models can still be tried. Never empties the whole chain.",+ "minReliabilityFloorOff": "Disabled"},"penaltyInspector": {"title": "Налягане в рутера",diff --git a/client/src/i18n/locales/bn.json b/client/src/i18n/locales/bn.jsonindex 6fb87657..84591375 100644--- a/client/src/i18n/locales/bn.json+++ b/client/src/i18n/locales/bn.json@@ -344,7 +344,10 @@"weightSpeed": "গতি","weightIntelligence": "বুদ্ধিমত্তা","weightRequired": "কমপক্ষে একটি ওজন শূন্যের উপরে হতে হবে।",- "scoreColumn": "স্কোর"+ "scoreColumn": "স্কোর",+ "minReliabilityFloor": "Minimum reliability floor",+ "minReliabilityFloorHint": "Drop a model from routing once its observed success rate falls below this. 0.8 means 80%. Leave blank to disable — models with too little history are always kept so new models can still be tried. Never empties the whole chain.",+ "minReliabilityFloorOff": "Disabled"},"penaltyInspector": {"title": "রাউটারের চাপ",diff --git a/client/src/i18n/locales/cs.json b/client/src/i18n/locales/cs.jsonindex 48f1e16b..65dae736 100644--- a/client/src/i18n/locales/cs.json+++ b/client/src/i18n/locales/cs.json@@ -344,7 +344,10 @@"weightSpeed": "Rychlost","weightIntelligence": "Zpravodajství","weightRequired": "Alespoň jedno závaží musí být nad nulou.",- "scoreColumn": "Hudba"+ "scoreColumn": "Hudba",+ "minReliabilityFloor": "Minimum reliability floor",+ "minReliabilityFloorHint": "Drop a model from routing once its observed success rate falls below this. 0.8 means 80%. Leave blank to disable — models with too little history are always kept so new models can still be tried. Never empties the whole chain.",+ "minReliabilityFloorOff": "Disabled"},"penaltyInspector": {"title": "Tlak frézky",diff --git a/client/src/i18n/locales/da.json b/client/src/i18n/locales/da.jsonindex 2d8081c1..9162d818 100644--- a/client/src/i18n/locales/da.json+++ b/client/src/i18n/locales/da.json@@ -344,7 +344,10 @@"weightSpeed": "Hastighed","weightIntelligence": "Intelligens","weightRequired": "Mindst én vægt skal være over nul.",- "scoreColumn": "Score"+ "scoreColumn": "Score",+ "minReliabilityFloor": "Minimum reliability floor",+ "minReliabilityFloorHint": "Drop a model from routing once its observed success rate falls below this. 0.8 means 80%. Leave blank to disable — models with too little history are always kept so new models can still be tried. Never empties the whole chain.",+ "minReliabilityFloorOff": "Disabled"},"penaltyInspector": {"title": "Fræsertryk",diff --git a/client/src/i18n/locales/de.json b/client/src/i18n/locales/de.jsonindex e059a957..56b6ee59 100644--- a/client/src/i18n/locales/de.json+++ b/client/src/i18n/locales/de.json@@ -344,7 +344,10 @@"weightSpeed": "Geschwindigkeit","weightIntelligence": "Intelligenz","weightRequired": "Mindestens ein Gewicht muss über Null liegen.",- "scoreColumn": "Punktzahl"+ "scoreColumn": "Punktzahl",+ "minReliabilityFloor": "Minimale Zuverlässigkeitsschwelle",+ "minReliabilityFloorHint": "Nimmt ein Modell aus dem Routing, sobald seine beobachtete Erfolgsquote unter diesen Wert fällt. 0,8 bedeutet 80 %. Leer lassen zum Deaktivieren – Modelle mit zu wenig Historie bleiben immer erhalten, damit neue Modelle weiter getestet werden können. Leert niemals die gesamte Kette.",+ "minReliabilityFloorOff": "Deaktiviert"},"penaltyInspector": {"title": "Router-Druck",diff --git a/client/src/i18n/locales/el.json b/client/src/i18n/locales/el.jsonindex e7a63953..dea440bb 100644--- a/client/src/i18n/locales/el.json+++ b/client/src/i18n/locales/el.json@@ -344,7 +344,10 @@"weightSpeed": "Ταχύτητα","weightIntelligence": "Ευφυΐα","weightRequired": "Τουλάχιστον ένα βάρος πρέπει να είναι πάνω από το μηδέν.",- "scoreColumn": "Σκορ"+ "scoreColumn": "Σκορ",+ "minReliabilityFloor": "Minimum reliability floor",+ "minReliabilityFloorHint": "Drop a model from routing once its observed success rate falls below this. 0.8 means 80%. Leave blank to disable — models with too little history are always kept so new models can still be tried. Never empties the whole chain.",+ "minReliabilityFloorOff": "Disabled"},"penaltyInspector": {"title": "Πίεση δρομολογητή",diff --git a/client/src/i18n/locales/en.json b/client/src/i18n/locales/en.jsonindex a009e652..891e6700 100644--- a/client/src/i18n/locales/en.json+++ b/client/src/i18n/locales/en.json@@ -320,6 +320,9 @@"title": "Routing strategy","description": "Pick a routing strategy. In Manual mode you drag to set the order; the other strategies route by live score across reliability, speed and intelligence.","weightsSummary": "reliability {reliability}% · speed {speed}% · intelligence {intelligence}%",+ "minReliabilityFloor": "Minimum reliability floor",+ "minReliabilityFloorHint": "Drop a model from routing once its observed success rate falls below this. 0.8 means 80%. Leave blank to disable — models with too little history are always kept so new models can still be tried. Never empties the whole chain.",+ "minReliabilityFloorOff": "Disabled","guardrails": "Guardrails","guardrailsTooltip": "Always-on guardrails: free-quota headroom × live rate-limit penalty. Below 1.0 means the model is being held back.","scoreTooltip": "Final routing score = weighted average of the three axes, multiplied by the guardrails. Higher routes first.",diff --git a/client/src/i18n/locales/es.json b/client/src/i18n/locales/es.jsonindex e8835bac..b5e16dea 100644--- a/client/src/i18n/locales/es.json+++ b/client/src/i18n/locales/es.json@@ -344,7 +344,10 @@"weightSpeed": "Velocidad","weightIntelligence": "Inteligencia","weightRequired": "Al menos un peso debe ser mayor que cero.",- "scoreColumn": "Puntuación"+ "scoreColumn": "Puntuación",+ "minReliabilityFloor": "Umbral mínimo de fiabilidad",+ "minReliabilityFloorHint": "Excluye un modelo del enrutamiento cuando su tasa de éxito observada cae por debajo de este valor. 0,8 significa 80 %. Déjelo vacío para desactivarlo: los modelos con poco historial siempre se conservan para que los nuevos modelos sigan probándose. Nunca vacía toda la cadena.",+ "minReliabilityFloorOff": "Desactivado"},"penaltyInspector": {"title": "Presión del router",diff --git a/client/src/i18n/locales/fa.json b/client/src/i18n/locales/fa.jsonindex 4df9a487..085bd79b 100644--- a/client/src/i18n/locales/fa.json+++ b/client/src/i18n/locales/fa.json@@ -344,7 +344,10 @@"weightSpeed": "سرعت","weightIntelligence": "هوش","weightRequired": "حداقل یک وزن باید بالای صفر باشد.",- "scoreColumn": "امتیاز"+ "scoreColumn": "امتیاز",+ "minReliabilityFloor": "Minimum reliability floor",+ "minReliabilityFloorHint": "Drop a model from routing once its observed success rate falls below this. 0.8 means 80%. Leave blank to disable — models with too little history are always kept so new models can still be tried. Never empties the whole chain.",+ "minReliabilityFloorOff": "Disabled"},"penaltyInspector": {"title": "فشار روتر",diff --git a/client/src/i18n/locales/fi.json b/client/src/i18n/locales/fi.jsonindex 3bc8782b..fd5c51b1 100644--- a/client/src/i18n/locales/fi.json+++ b/client/src/i18n/locales/fi.json@@ -344,7 +344,10 @@"weightSpeed": "Nopeus","weightIntelligence": "Tiedustelu","weightRequired": "Vähintään yhden painon täytyy olla yli nollan.",- "scoreColumn": "Musiikki"+ "scoreColumn": "Musiikki",+ "minReliabilityFloor": "Minimum reliability floor",+ "minReliabilityFloorHint": "Drop a model from routing once its observed success rate falls below this. 0.8 means 80%. Leave blank to disable — models with too little history are always kept so new models can still be tried. Never empties the whole chain.",+ "minReliabilityFloorOff": "Disabled"},"penaltyInspector": {"title": "Jyrsimen paine",diff --git a/client/src/i18n/locales/fr.json b/client/src/i18n/locales/fr.jsonindex c6c1d8bf..88bffbb5 100644--- a/client/src/i18n/locales/fr.json+++ b/client/src/i18n/locales/fr.json@@ -344,7 +344,10 @@"weightSpeed": "Vitesse","weightIntelligence": "Intelligence","weightRequired": "Au moins une pondération doit être supérieure à zéro.",- "scoreColumn": "Score"+ "scoreColumn": "Score",+ "minReliabilityFloor": "Seuil de fiabilité minimal",+ "minReliabilityFloorHint": "Retire un modèle du routage dès que son taux de succès observé passe sous cette valeur. 0,8 signifie 80 %. Laissez vide pour désactiver — les modèles avec trop peu d'historique sont toujours conservés afin que les nouveaux modèles puissent encore être essayés. Ne vide jamais toute la chaîne.",+ "minReliabilityFloorOff": "Désactivé"},"penaltyInspector": {"title": "Pression sur le routeur",diff --git a/client/src/i18n/locales/gu.json b/client/src/i18n/locales/gu.jsonindex 8ab2e67e..1ea2198f 100644--- a/client/src/i18n/locales/gu.json+++ b/client/src/i18n/locales/gu.json@@ -344,7 +344,10 @@"weightSpeed": "ઝડપ","weightIntelligence": "બુદ્ધિ","weightRequired": "ઓછામાં ઓછું એક વજન શૂન્યથી ઉપર હોવું જોઈએ.",- "scoreColumn": "સ્કોર"+ "scoreColumn": "સ્કોર",+ "minReliabilityFloor": "Minimum reliability floor",+ "minReliabilityFloorHint": "Drop a model from routing once its observed success rate falls below this. 0.8 means 80%. Leave blank to disable — models with too little history are always kept so new models can still be tried. Never empties the whole chain.",+ "minReliabilityFloorOff": "Disabled"},"penaltyInspector": {"title": "રાઉટર દબાણ",diff --git a/client/src/i18n/locales/ha.json b/client/src/i18n/locales/ha.jsonindex 0098a44a..c545a99e 100644--- a/client/src/i18n/locales/ha.json+++ b/client/src/i18n/locales/ha.json@@ -344,7 +344,10 @@"weightSpeed": "Gudu","weightIntelligence": "Hankali","weightRequired": "Aƙalla nauyi ɗaya dole ne ya kasance sama da sifili.",- "scoreColumn": "Maki"+ "scoreColumn": "Maki",+ "minReliabilityFloor": "Minimum reliability floor",+ "minReliabilityFloorHint": "Drop a model from routing once its observed success rate falls below this. 0.8 means 80%. Leave blank to disable — models with too little history are always kept so new models can still be tried. Never empties the whole chain.",+ "minReliabilityFloorOff": "Disabled"},"penaltyInspector": {"title": "Matsin na'ura mai ba da hanya tsakanin hanyoyin sadarwa",diff --git a/client/src/i18n/locales/he.json b/client/src/i18n/locales/he.jsonindex efa713e0..c213a281 100644--- a/client/src/i18n/locales/he.json+++ b/client/src/i18n/locales/he.json@@ -344,7 +344,10 @@"weightSpeed": "מהירות","weightIntelligence": "מודיעין","weightRequired": "לפחות משקל אחד חייב להיות מעל אפס.",- "scoreColumn": "פסקול"+ "scoreColumn": "פסקול",+ "minReliabilityFloor": "Minimum reliability floor",+ "minReliabilityFloorHint": "Drop a model from routing once its observed success rate falls below this. 0.8 means 80%. Leave blank to disable — models with too little history are always kept so new models can still be tried. Never empties the whole chain.",+ "minReliabilityFloorOff": "Disabled"},"penaltyInspector": {"title": "לחץ הנתב",diff --git a/client/src/i18n/locales/hi.json b/client/src/i18n/locales/hi.jsonindex 020988b4..fe1fe1b6 100644--- a/client/src/i18n/locales/hi.json+++ b/client/src/i18n/locales/hi.json@@ -344,7 +344,10 @@"weightSpeed": "गति","weightIntelligence": "बुद्धि","weightRequired": "कम से कम एक वज़न शून्य से ऊपर होना चाहिए.",- "scoreColumn": "स्कोर"+ "scoreColumn": "स्कोर",+ "minReliabilityFloor": "न्यूनतम विश्वसनीयता सीमा",+ "minReliabilityFloorHint": "जब किसी मॉडल की देखी गई सफलता दर इस मान से नीचे गिर जाए, तो उसे रूटिंग से हटा देता है। 0.8 का अर्थ 80% है। अक्षम करने के लिए खाली छोड़ें — बहुत कम इतिहास वाले मॉडल हमेशा रखे जाते हैं ताकि नए मॉडल आज़माए जा सकें। पूरी श्रृंखला कभी खाली नहीं करता।",+ "minReliabilityFloorOff": "अक्षम"},"penaltyInspector": {"title": "राउटर का दबाव",diff --git a/client/src/i18n/locales/hr.json b/client/src/i18n/locales/hr.jsonindex a37dae39..062ab0e0 100644--- a/client/src/i18n/locales/hr.json+++ b/client/src/i18n/locales/hr.json@@ -344,7 +344,10 @@"weightSpeed": "Brzina","weightIntelligence": "Obavještajna služba","weightRequired": "Najmanje jedna težina mora biti iznad nule.",- "scoreColumn": "Glazba"+ "scoreColumn": "Glazba",+ "minReliabilityFloor": "Minimum reliability floor",+ "minReliabilityFloorHint": "Drop a model from routing once its observed success rate falls below this. 0.8 means 80%. Leave blank to disable — models with too little history are always kept so new models can still be tried. Never empties the whole chain.",+ "minReliabilityFloorOff": "Disabled"},"penaltyInspector": {"title": "Tlak glodalice",diff --git a/client/src/i18n/locales/hu.json b/client/src/i18n/locales/hu.jsonindex 2b47fd1b..78a1d7d0 100644--- a/client/src/i18n/locales/hu.json+++ b/client/src/i18n/locales/hu.json@@ -344,7 +344,10 @@"weightSpeed": "Sebesség","weightIntelligence": "Intelligencia","weightRequired": "Legalább egy súlynak nulla felett kell lennie.",- "scoreColumn": "Zene"+ "scoreColumn": "Zene",+ "minReliabilityFloor": "Minimum reliability floor",+ "minReliabilityFloorHint": "Drop a model from routing once its observed success rate falls below this. 0.8 means 80%. Leave blank to disable — models with too little history are always kept so new models can still be tried. Never empties the whole chain.",+ "minReliabilityFloorOff": "Disabled"},"penaltyInspector": {"title": "Router nyomás",diff --git a/client/src/i18n/locales/id.json b/client/src/i18n/locales/id.jsonindex af2166d6..efae0949 100644--- a/client/src/i18n/locales/id.json+++ b/client/src/i18n/locales/id.json@@ -344,7 +344,10 @@"weightSpeed": "Kecepatan","weightIntelligence": "Intelijen","weightRequired": "Setidaknya satu bobot harus di atas nol.",- "scoreColumn": "Skor"+ "scoreColumn": "Skor",+ "minReliabilityFloor": "Minimum reliability floor",+ "minReliabilityFloorHint": "Drop a model from routing once its observed success rate falls below this. 0.8 means 80%. Leave blank to disable — models with too little history are always kept so new models can still be tried. Never empties the whole chain.",+ "minReliabilityFloorOff": "Disabled"},"penaltyInspector": {"title": "Tekanan router",diff --git a/client/src/i18n/locales/ig.json b/client/src/i18n/locales/ig.jsonindex c54f3c1b..fd774d3d 100644--- a/client/src/i18n/locales/ig.json+++ b/client/src/i18n/locales/ig.json@@ -344,7 +344,10 @@"weightSpeed": "Ọsọ","weightIntelligence": "ọgụgụ isi","weightRequired": "Opekempe otu arọ ga-adị n'elu efu.",- "scoreColumn": "Akara"+ "scoreColumn": "Akara",+ "minReliabilityFloor": "Minimum reliability floor",+ "minReliabilityFloorHint": "Drop a model from routing once its observed success rate falls below this. 0.8 means 80%. Leave blank to disable — models with too little history are always kept so new models can still be tried. Never empties the whole chain.",+ "minReliabilityFloorOff": "Disabled"},"penaltyInspector": {"title": "Nrụgide rawụta",diff --git a/client/src/i18n/locales/it.json b/client/src/i18n/locales/it.jsonindex 2fe3aa06..3b09d83c 100644--- a/client/src/i18n/locales/it.json+++ b/client/src/i18n/locales/it.json@@ -344,7 +344,10 @@"weightSpeed": "Velocità","weightIntelligence": "Intelligenza","weightRequired": "Almeno un peso deve essere maggiore di zero.",- "scoreColumn": "Punteggio"+ "scoreColumn": "Punteggio",+ "minReliabilityFloor": "Minimum reliability floor",+ "minReliabilityFloorHint": "Drop a model from routing once its observed success rate falls below this. 0.8 means 80%. Leave blank to disable — models with too little history are always kept so new models can still be tried. Never empties the whole chain.",+ "minReliabilityFloorOff": "Disabled"},"penaltyInspector": {"title": "Pressione del router",diff --git a/client/src/i18n/locales/ja.json b/client/src/i18n/locales/ja.jsonindex fb204068..f0c4a035 100644--- a/client/src/i18n/locales/ja.json+++ b/client/src/i18n/locales/ja.json@@ -344,7 +344,10 @@"weightSpeed": "速度","weightIntelligence": "インテリジェンス","weightRequired": "少なくとも 1 つの重みがゼロより大きくなければなりません。",- "scoreColumn": "スコア"+ "scoreColumn": "スコア",+ "minReliabilityFloor": "最低信頼性しきい値",+ "minReliabilityFloorHint": "観測された成功率がこの値を下回ったモデルをルーティングから除外します。0.8 は 80% を意味します。空欄で無効 — 履歴が少なすぎるモデルは常に保持され、新しいモデルも試行され続けます。チェーン全体が空になることはありません。",+ "minReliabilityFloorOff": "無効"},"penaltyInspector": {"title": "ルーターの圧力",diff --git a/client/src/i18n/locales/ka.json b/client/src/i18n/locales/ka.jsonindex a5feee5b..fe7e049c 100644--- a/client/src/i18n/locales/ka.json+++ b/client/src/i18n/locales/ka.json@@ -344,7 +344,10 @@"weightSpeed": "სიჩქარე","weightIntelligence": "დაზვერვა","weightRequired": "მინიმუმ ერთი წონა უნდა იყოს ნულის ზემოთ.",- "scoreColumn": "ქულა"+ "scoreColumn": "ქულა",+ "minReliabilityFloor": "Minimum reliability floor",+ "minReliabilityFloorHint": "Drop a model from routing once its observed success rate falls below this. 0.8 means 80%. Leave blank to disable — models with too little history are always kept so new models can still be tried. Never empties the whole chain.",+ "minReliabilityFloorOff": "Disabled"},"penaltyInspector": {"title": "როუტერის წნევა",diff --git a/client/src/i18n/locales/km.json b/client/src/i18n/locales/km.jsonindex 7a32172f..e7a66744 100644--- a/client/src/i18n/locales/km.json+++ b/client/src/i18n/locales/km.json@@ -344,7 +344,10 @@"weightSpeed": "ល្បឿន","weightIntelligence": "បញ្ញា","weightRequired": "យ៉ាងហោចណាស់ទម្ងន់មួយត្រូវតែខ្ពស់ជាងសូន្យ។",- "scoreColumn": "ពិន្ទុ"+ "scoreColumn": "ពិន្ទុ",+ "minReliabilityFloor": "Minimum reliability floor",+ "minReliabilityFloorHint": "Drop a model from routing once its observed success rate falls below this. 0.8 means 80%. Leave blank to disable — models with too little history are always kept so new models can still be tried. Never empties the whole chain.",+ "minReliabilityFloorOff": "Disabled"},"penaltyInspector": {"title": "សំពាធរ៉ោទ័រ",diff --git a/client/src/i18n/locales/kn.json b/client/src/i18n/locales/kn.jsonindex a8de7bc2..9f810541 100644--- a/client/src/i18n/locales/kn.json+++ b/client/src/i18n/locales/kn.json@@ -344,7 +344,10 @@"weightSpeed": "ವೇಗ","weightIntelligence": "ಗುಪ್ತಚರ","weightRequired": "ಕನಿಷ್ಠ ಒಂದು ತೂಕವು ಶೂನ್ಯಕ್ಕಿಂತ ಹೆಚ್ಚಿರಬೇಕು.",- "scoreColumn": "ಸ್ಕೋರ್"+ "scoreColumn": "ಸ್ಕೋರ್",+ "minReliabilityFloor": "Minimum reliability floor",+ "minReliabilityFloorHint": "Drop a model from routing once its observed success rate falls below this. 0.8 means 80%. Leave blank to disable — models with too little history are always kept so new models can still be tried. Never empties the whole chain.",+ "minReliabilityFloorOff": "Disabled"},"penaltyInspector": {"title": "ರೂಟರ್ ಒತ್ತಡ",diff --git a/client/src/i18n/locales/ko.json b/client/src/i18n/locales/ko.jsonindex 31ee07aa..a9978dde 100644--- a/client/src/i18n/locales/ko.json+++ b/client/src/i18n/locales/ko.json@@ -344,7 +344,10 @@"weightSpeed": "속도","weightIntelligence": "지능","weightRequired": "하나 이상의 가중치가 0보다 커야 합니다.",- "scoreColumn": "점수"+ "scoreColumn": "점수",+ "minReliabilityFloor": "최소 신뢰성 기준",+ "minReliabilityFloorHint": "관측된 성공률이 이 값 아래로 떨어지면 해당 모델을 라우팅에서 제외합니다. 0.8은 80%를 의미합니다. 비워 두면 비활성화됩니다 — 기록이 너무 적은 모델은 항상 유지되어 새 모델도 계속 시도할 수 있습니다. 전체 체인을 비우지는 않습니다.",+ "minReliabilityFloorOff": "비활성"},"penaltyInspector": {"title": "라우터 압력",diff --git a/client/src/i18n/locales/lt.json b/client/src/i18n/locales/lt.jsonindex 105424c0..d8a8e0b7 100644--- a/client/src/i18n/locales/lt.json+++ b/client/src/i18n/locales/lt.json@@ -344,7 +344,10 @@"weightSpeed": "Greitis","weightIntelligence": "Intelektas","weightRequired": "Bent vienas svoris turi būti virš nulio.",- "scoreColumn": "Muzika"+ "scoreColumn": "Muzika",+ "minReliabilityFloor": "Minimum reliability floor",+ "minReliabilityFloorHint": "Drop a model from routing once its observed success rate falls below this. 0.8 means 80%. Leave blank to disable — models with too little history are always kept so new models can still be tried. Never empties the whole chain.",+ "minReliabilityFloorOff": "Disabled"},"penaltyInspector": {"title": "Maršrutizatoriaus slėgis",diff --git a/client/src/i18n/locales/ml.json b/client/src/i18n/locales/ml.jsonindex a8626435..33943cd8 100644--- a/client/src/i18n/locales/ml.json+++ b/client/src/i18n/locales/ml.json@@ -344,7 +344,10 @@"weightSpeed": "വേഗത","weightIntelligence": "ഇൻ്റലിജൻസ്","weightRequired": "കുറഞ്ഞത് ഒരു ഭാരമെങ്കിലും പൂജ്യത്തിന് മുകളിലായിരിക്കണം.",- "scoreColumn": "സ്കോർ"+ "scoreColumn": "സ്കോർ",+ "minReliabilityFloor": "Minimum reliability floor",+ "minReliabilityFloorHint": "Drop a model from routing once its observed success rate falls below this. 0.8 means 80%. Leave blank to disable — models with too little history are always kept so new models can still be tried. Never empties the whole chain.",+ "minReliabilityFloorOff": "Disabled"},"penaltyInspector": {"title": "റൂട്ടർ മർദ്ദം",diff --git a/client/src/i18n/locales/mr.json b/client/src/i18n/locales/mr.jsonindex cb7ce9a4..4abb34a7 100644--- a/client/src/i18n/locales/mr.json+++ b/client/src/i18n/locales/mr.json@@ -344,7 +344,10 @@"weightSpeed": "गती","weightIntelligence": "बुद्धिमत्ता","weightRequired": "किमान एक वजन शून्यापेक्षा जास्त असणे आवश्यक आहे.",- "scoreColumn": "स्कोअर"+ "scoreColumn": "स्कोअर",+ "minReliabilityFloor": "Minimum reliability floor",+ "minReliabilityFloorHint": "Drop a model from routing once its observed success rate falls below this. 0.8 means 80%. Leave blank to disable — models with too little history are always kept so new models can still be tried. Never empties the whole chain.",+ "minReliabilityFloorOff": "Disabled"},"penaltyInspector": {"title": "राउटर दबाव",diff --git a/client/src/i18n/locales/ms.json b/client/src/i18n/locales/ms.jsonindex bc2d6191..ab76fec9 100644--- a/client/src/i18n/locales/ms.json+++ b/client/src/i18n/locales/ms.json@@ -344,7 +344,10 @@"weightSpeed": "Kelajuan","weightIntelligence": "Perisikan","weightRequired": "Sekurang-kurangnya satu berat mesti melebihi sifar.",- "scoreColumn": "Skor"+ "scoreColumn": "Skor",+ "minReliabilityFloor": "Minimum reliability floor",+ "minReliabilityFloorHint": "Drop a model from routing once its observed success rate falls below this. 0.8 means 80%. Leave blank to disable — models with too little history are always kept so new models can still be tried. Never empties the whole chain.",+ "minReliabilityFloorOff": "Disabled"},"penaltyInspector": {"title": "Tekanan penghala",diff --git a/client/src/i18n/locales/my.json b/client/src/i18n/locales/my.jsonindex 02fc1a56..d2fda22e 100644--- a/client/src/i18n/locales/my.json+++ b/client/src/i18n/locales/my.json@@ -344,7 +344,10 @@"weightSpeed": "အမြန်နှုန်း","weightIntelligence": "ဉာဏ်ရည်","weightRequired": "အနည်းဆုံး အလေးချိန်တစ်ခုသည် သုညထက် မြင့်ရမည်။",- "scoreColumn": "အမှတ်"+ "scoreColumn": "အမှတ်",+ "minReliabilityFloor": "Minimum reliability floor",+ "minReliabilityFloorHint": "Drop a model from routing once its observed success rate falls below this. 0.8 means 80%. Leave blank to disable — models with too little history are always kept so new models can still be tried. Never empties the whole chain.",+ "minReliabilityFloorOff": "Disabled"},"penaltyInspector": {"title": "ရောတာဖိအား",diff --git a/client/src/i18n/locales/ne.json b/client/src/i18n/locales/ne.jsonindex a93c25e4..f3fd4bb4 100644--- a/client/src/i18n/locales/ne.json+++ b/client/src/i18n/locales/ne.json@@ -344,7 +344,10 @@"weightSpeed": "गति","weightIntelligence": "इन्टेलिजेन्स","weightRequired": "कम्तीमा एउटा तौल शून्यभन्दा माथि हुनुपर्छ ।",- "scoreColumn": "प्राप्ताङ्क"+ "scoreColumn": "प्राप्ताङ्क",+ "minReliabilityFloor": "Minimum reliability floor",+ "minReliabilityFloorHint": "Drop a model from routing once its observed success rate falls below this. 0.8 means 80%. Leave blank to disable — models with too little history are always kept so new models can still be tried. Never empties the whole chain.",+ "minReliabilityFloorOff": "Disabled"},"penaltyInspector": {"title": "राउटरको चाप",diff --git a/client/src/i18n/locales/nl.json b/client/src/i18n/locales/nl.jsonindex d46040ca..68ecfa00 100644--- a/client/src/i18n/locales/nl.json+++ b/client/src/i18n/locales/nl.json@@ -344,7 +344,10 @@"weightSpeed": "Snelheid","weightIntelligence": "Intelligentie","weightRequired": "Minstens één gewicht moet boven nul liggen.",- "scoreColumn": "Partituur"+ "scoreColumn": "Partituur",+ "minReliabilityFloor": "Minimum reliability floor",+ "minReliabilityFloorHint": "Drop a model from routing once its observed success rate falls below this. 0.8 means 80%. Leave blank to disable — models with too little history are always kept so new models can still be tried. Never empties the whole chain.",+ "minReliabilityFloorOff": "Disabled"},"penaltyInspector": {"title": "Routerdruk",diff --git a/client/src/i18n/locales/no.json b/client/src/i18n/locales/no.jsonindex e9ed7788..52ec8663 100644--- a/client/src/i18n/locales/no.json+++ b/client/src/i18n/locales/no.json@@ -344,7 +344,10 @@"weightSpeed": "Hastighet","weightIntelligence": "Etterretning","weightRequired": "Minst én vekt må være over null.",- "scoreColumn": "Poengsum"+ "scoreColumn": "Poengsum",+ "minReliabilityFloor": "Minimum reliability floor",+ "minReliabilityFloorHint": "Drop a model from routing once its observed success rate falls below this. 0.8 means 80%. Leave blank to disable — models with too little history are always kept so new models can still be tried. Never empties the whole chain.",+ "minReliabilityFloorOff": "Disabled"},"penaltyInspector": {"title": "Frestrykk",diff --git a/client/src/i18n/locales/or.json b/client/src/i18n/locales/or.jsonindex 2d19a76a..0fe7020e 100644--- a/client/src/i18n/locales/or.json+++ b/client/src/i18n/locales/or.json@@ -344,7 +344,10 @@"weightSpeed": "ବେଗ","weightIntelligence": "ବୁଦ୍ଧିମତା","weightRequired": "ଅତିକମରେ ଗୋଟିଏ ଓଜନ ଶୂନ୍ୟରୁ ଅଧିକ ହେବା ଆବଶ୍ୟକ।",- "scoreColumn": "ସ୍କୋର"+ "scoreColumn": "ସ୍କୋର",+ "minReliabilityFloor": "Minimum reliability floor",+ "minReliabilityFloorHint": "Drop a model from routing once its observed success rate falls below this. 0.8 means 80%. Leave blank to disable — models with too little history are always kept so new models can still be tried. Never empties the whole chain.",+ "minReliabilityFloorOff": "Disabled"},"penaltyInspector": {"title": "ରାଉଟର ଚାପ",diff --git a/client/src/i18n/locales/pa.json b/client/src/i18n/locales/pa.jsonindex 3040ad61..f5001df3 100644--- a/client/src/i18n/locales/pa.json+++ b/client/src/i18n/locales/pa.json@@ -344,7 +344,10 @@"weightSpeed": "ਗਤੀ","weightIntelligence": "ਬੁੱਧੀ","weightRequired": "ਘੱਟੋ-ਘੱਟ ਇੱਕ ਭਾਰ ਜ਼ੀਰੋ ਤੋਂ ਉੱਪਰ ਹੋਣਾ ਚਾਹੀਦਾ ਹੈ।",- "scoreColumn": "ਸਕੋਰ"+ "scoreColumn": "ਸਕੋਰ",+ "minReliabilityFloor": "Minimum reliability floor",+ "minReliabilityFloorHint": "Drop a model from routing once its observed success rate falls below this. 0.8 means 80%. Leave blank to disable — models with too little history are always kept so new models can still be tried. Never empties the whole chain.",+ "minReliabilityFloorOff": "Disabled"},"penaltyInspector": {"title": "ਰਾਊਟਰ ਦਾ ਦਬਾਅ",diff --git a/client/src/i18n/locales/pl.json b/client/src/i18n/locales/pl.jsonindex 1b52144d..e35b625c 100644--- a/client/src/i18n/locales/pl.json+++ b/client/src/i18n/locales/pl.json@@ -344,7 +344,10 @@"weightSpeed": "Prędkość","weightIntelligence": "Inteligencja","weightRequired": "Przynajmniej jedna waga musi być powyżej zera.",- "scoreColumn": "Wynik"+ "scoreColumn": "Wynik",+ "minReliabilityFloor": "Minimum reliability floor",+ "minReliabilityFloorHint": "Drop a model from routing once its observed success rate falls below this. 0.8 means 80%. Leave blank to disable — models with too little history are always kept so new models can still be tried. Never empties the whole chain.",+ "minReliabilityFloorOff": "Disabled"},"penaltyInspector": {"title": "Ciśnienie routera",diff --git a/client/src/i18n/locales/pt-BR.json b/client/src/i18n/locales/pt-BR.jsonindex 1e2d486c..d113e899 100644--- a/client/src/i18n/locales/pt-BR.json+++ b/client/src/i18n/locales/pt-BR.json@@ -344,7 +344,10 @@"weightSpeed": "Velocidade","weightIntelligence": "Inteligência","weightRequired": "Pelo menos um peso deve ser maior que zero.",- "scoreColumn": "Pontuação"+ "scoreColumn": "Pontuação",+ "minReliabilityFloor": "Piso mínimo de confiabilidade",+ "minReliabilityFloorHint": "Remove um modelo do roteamento quando sua taxa de sucesso observada cai abaixo deste valor. 0,8 significa 80%. Deixe em branco para desativar — modelos com pouco histórico são sempre mantidos para que modelos novos ainda possam ser testados. Nunca esvazia toda a cadeia.",+ "minReliabilityFloorOff": "Desativado"},"penaltyInspector": {"title": "Pressão do roteador",diff --git a/client/src/i18n/locales/pt-PT.json b/client/src/i18n/locales/pt-PT.jsonindex b8886c33..2b5f3899 100644--- a/client/src/i18n/locales/pt-PT.json+++ b/client/src/i18n/locales/pt-PT.json@@ -344,7 +344,10 @@"weightSpeed": "Velocidade","weightIntelligence": "Inteligência","weightRequired": "Pelo menos um peso deve estar acima de zero.",- "scoreColumn": "Banda sonora"+ "scoreColumn": "Banda sonora",+ "minReliabilityFloor": "Minimum reliability floor",+ "minReliabilityFloorHint": "Drop a model from routing once its observed success rate falls below this. 0.8 means 80%. Leave blank to disable — models with too little history are always kept so new models can still be tried. Never empties the whole chain.",+ "minReliabilityFloorOff": "Disabled"},"penaltyInspector": {"title": "Pressão do router",diff --git a/client/src/i18n/locales/ro.json b/client/src/i18n/locales/ro.jsonindex cc90aa1d..10ffbd22 100644--- a/client/src/i18n/locales/ro.json+++ b/client/src/i18n/locales/ro.json@@ -344,7 +344,10 @@"weightSpeed": "Viteză","weightIntelligence": "Inteligență","weightRequired": "Cel puțin o greutate trebuie să fie peste zero.",- "scoreColumn": "Scorul"+ "scoreColumn": "Scorul",+ "minReliabilityFloor": "Minimum reliability floor",+ "minReliabilityFloorHint": "Drop a model from routing once its observed success rate falls below this. 0.8 means 80%. Leave blank to disable — models with too little history are always kept so new models can still be tried. Never empties the whole chain.",+ "minReliabilityFloorOff": "Disabled"},"penaltyInspector": {"title": "Presiunea routerului",diff --git a/client/src/i18n/locales/ru.json b/client/src/i18n/locales/ru.jsonindex d2e10315..72ecd4f0 100644--- a/client/src/i18n/locales/ru.json+++ b/client/src/i18n/locales/ru.json@@ -344,7 +344,10 @@"weightSpeed": "Скорость","weightIntelligence": "Интеллект","weightRequired": "Хотя бы один вес должен быть больше нуля.",- "scoreColumn": "Оценка"+ "scoreColumn": "Оценка",+ "minReliabilityFloor": "Минимальный порог надёжности",+ "minReliabilityFloorHint": "Исключает модель из маршрутизации, когда её наблюдаемая доля успешных запросов падает ниже этого значения. 0,8 означает 80 %. Оставьте пустым, чтобы отключить — модели с малой историей всегда сохраняются, чтобы новые модели продолжали пробоваться. Никогда не опустошает всю цепочку.",+ "minReliabilityFloorOff": "Отключено"},"penaltyInspector": {"title": "Давление маршрутизатора",diff --git a/client/src/i18n/locales/si.json b/client/src/i18n/locales/si.jsonindex fbaeded0..321fba89 100644--- a/client/src/i18n/locales/si.json+++ b/client/src/i18n/locales/si.json@@ -344,7 +344,10 @@"weightSpeed": "වේගය","weightIntelligence": "බුද්ධිය","weightRequired": "අවම වශයෙන් එක් බරක් බිංදුවට වඩා වැඩි විය යුතුය.",- "scoreColumn": "ලකුණු"+ "scoreColumn": "ලකුණු",+ "minReliabilityFloor": "Minimum reliability floor",+ "minReliabilityFloorHint": "Drop a model from routing once its observed success rate falls below this. 0.8 means 80%. Leave blank to disable — models with too little history are always kept so new models can still be tried. Never empties the whole chain.",+ "minReliabilityFloorOff": "Disabled"},"penaltyInspector": {"title": "රවුටරයේ පීඩනය",diff --git a/client/src/i18n/locales/sk.json b/client/src/i18n/locales/sk.jsonindex 4552724e..3cef96be 100644--- a/client/src/i18n/locales/sk.json+++ b/client/src/i18n/locales/sk.json@@ -344,7 +344,10 @@"weightSpeed": "Rýchlosť","weightIntelligence": "Spravodajstvo","weightRequired": "Aspoň jedno závažie musí byť nad nulou.",- "scoreColumn": "Hudba"+ "scoreColumn": "Hudba",+ "minReliabilityFloor": "Minimum reliability floor",+ "minReliabilityFloorHint": "Drop a model from routing once its observed success rate falls below this. 0.8 means 80%. Leave blank to disable — models with too little history are always kept so new models can still be tried. Never empties the whole chain.",+ "minReliabilityFloorOff": "Disabled"},"penaltyInspector": {"title": "Tlak frézky",diff --git a/client/src/i18n/locales/sr.json b/client/src/i18n/locales/sr.jsonindex e3c438fe..a12c0a5d 100644--- a/client/src/i18n/locales/sr.json+++ b/client/src/i18n/locales/sr.json@@ -344,7 +344,10 @@"weightSpeed": "Брзина","weightIntelligence": "Интелигенција","weightRequired": "Најмање једна тежина мора бити изнад нуле.",- "scoreColumn": "Резултат"+ "scoreColumn": "Резултат",+ "minReliabilityFloor": "Minimum reliability floor",+ "minReliabilityFloorHint": "Drop a model from routing once its observed success rate falls below this. 0.8 means 80%. Leave blank to disable — models with too little history are always kept so new models can still be tried. Never empties the whole chain.",+ "minReliabilityFloorOff": "Disabled"},"penaltyInspector": {"title": "Притисак рутера",diff --git a/client/src/i18n/locales/sv.json b/client/src/i18n/locales/sv.jsonindex c2911201..b42da165 100644--- a/client/src/i18n/locales/sv.json+++ b/client/src/i18n/locales/sv.json@@ -344,7 +344,10 @@"weightSpeed": "Hastighet","weightIntelligence": "Underrättelse","weightRequired": "Minst en vikt måste vara över noll.",- "scoreColumn": "Poäng"+ "scoreColumn": "Poäng",+ "minReliabilityFloor": "Minimum reliability floor",+ "minReliabilityFloorHint": "Drop a model from routing once its observed success rate falls below this. 0.8 means 80%. Leave blank to disable — models with too little history are always kept so new models can still be tried. Never empties the whole chain.",+ "minReliabilityFloorOff": "Disabled"},"penaltyInspector": {"title": "Frästryck",diff --git a/client/src/i18n/locales/sw.json b/client/src/i18n/locales/sw.jsonindex fa8e3380..b019c45e 100644--- a/client/src/i18n/locales/sw.json+++ b/client/src/i18n/locales/sw.json@@ -344,7 +344,10 @@"weightSpeed": "Kasi","weightIntelligence": "Akili","weightRequired": "Angalau uzito mmoja lazima uwe juu ya sifuri.",- "scoreColumn": "Alama"+ "scoreColumn": "Alama",+ "minReliabilityFloor": "Minimum reliability floor",+ "minReliabilityFloorHint": "Drop a model from routing once its observed success rate falls below this. 0.8 means 80%. Leave blank to disable — models with too little history are always kept so new models can still be tried. Never empties the whole chain.",+ "minReliabilityFloorOff": "Disabled"},"penaltyInspector": {"title": "Shinikizo la router",diff --git a/client/src/i18n/locales/ta.json b/client/src/i18n/locales/ta.jsonindex 96cf2dd2..e0b6968c 100644--- a/client/src/i18n/locales/ta.json+++ b/client/src/i18n/locales/ta.json@@ -344,7 +344,10 @@"weightSpeed": "வேகம்","weightIntelligence": "உளவுத்துறை","weightRequired": "குறைந்தபட்சம் ஒரு எடை பூஜ்ஜியத்திற்கு மேல் இருக்க வேண்டும்.",- "scoreColumn": "மதிப்பெண்"+ "scoreColumn": "மதிப்பெண்",+ "minReliabilityFloor": "Minimum reliability floor",+ "minReliabilityFloorHint": "Drop a model from routing once its observed success rate falls below this. 0.8 means 80%. Leave blank to disable — models with too little history are always kept so new models can still be tried. Never empties the whole chain.",+ "minReliabilityFloorOff": "Disabled"},"penaltyInspector": {"title": "திசைவி அழுத்தம்",diff --git a/client/src/i18n/locales/te.json b/client/src/i18n/locales/te.jsonindex 16280d1c..6ffee4d0 100644--- a/client/src/i18n/locales/te.json+++ b/client/src/i18n/locales/te.json@@ -344,7 +344,10 @@"weightSpeed": "వేగం","weightIntelligence": "ఇంటెలిజెన్స్","weightRequired": "కనీసం ఒక బరువు తప్పనిసరిగా సున్నా కంటే ఎక్కువగా ఉండాలి.",- "scoreColumn": "స్కోర్"+ "scoreColumn": "స్కోర్",+ "minReliabilityFloor": "Minimum reliability floor",+ "minReliabilityFloorHint": "Drop a model from routing once its observed success rate falls below this. 0.8 means 80%. Leave blank to disable — models with too little history are always kept so new models can still be tried. Never empties the whole chain.",+ "minReliabilityFloorOff": "Disabled"},"penaltyInspector": {"title": "రూటర్ ఒత్తిడి",diff --git a/client/src/i18n/locales/th.json b/client/src/i18n/locales/th.jsonindex 015a9963..47edb5b2 100644--- a/client/src/i18n/locales/th.json+++ b/client/src/i18n/locales/th.json@@ -344,7 +344,10 @@"weightSpeed": "ความเร็ว","weightIntelligence": "ความฉลาด","weightRequired": "อย่างน้อยหนึ่งน้ำหนักต้องมากกว่าศูนย์",- "scoreColumn": "คะแนน"+ "scoreColumn": "คะแนน",+ "minReliabilityFloor": "Minimum reliability floor",+ "minReliabilityFloorHint": "Drop a model from routing once its observed success rate falls below this. 0.8 means 80%. Leave blank to disable — models with too little history are always kept so new models can still be tried. Never empties the whole chain.",+ "minReliabilityFloorOff": "Disabled"},"penaltyInspector": {"title": "แรงดันเราเตอร์",diff --git a/client/src/i18n/locales/tl.json b/client/src/i18n/locales/tl.jsonindex 5ed21d43..45f2f5ac 100644--- a/client/src/i18n/locales/tl.json+++ b/client/src/i18n/locales/tl.json@@ -344,7 +344,10 @@"weightSpeed": "Bilis","weightIntelligence": "Intelihensiya","weightRequired": "Dapat may isang timbang na higit sa zero.",- "scoreColumn": "Iskor"+ "scoreColumn": "Iskor",+ "minReliabilityFloor": "Minimum reliability floor",+ "minReliabilityFloorHint": "Drop a model from routing once its observed success rate falls below this. 0.8 means 80%. Leave blank to disable — models with too little history are always kept so new models can still be tried. Never empties the whole chain.",+ "minReliabilityFloorOff": "Disabled"},"penaltyInspector": {"title": "Presyon ng router",diff --git a/client/src/i18n/locales/tr.json b/client/src/i18n/locales/tr.jsonindex 63655e4c..803c4ee2 100644--- a/client/src/i18n/locales/tr.json+++ b/client/src/i18n/locales/tr.json@@ -344,7 +344,10 @@"weightSpeed": "Hız","weightIntelligence": "Zekâ","weightRequired": "En az bir ağırlık sıfırın üzerinde olmalıdır.",- "scoreColumn": "Puan"+ "scoreColumn": "Puan",+ "minReliabilityFloor": "Minimum reliability floor",+ "minReliabilityFloorHint": "Drop a model from routing once its observed success rate falls below this. 0.8 means 80%. Leave blank to disable — models with too little history are always kept so new models can still be tried. Never empties the whole chain.",+ "minReliabilityFloorOff": "Disabled"},"penaltyInspector": {"title": "Yönlendirici baskısı",diff --git a/client/src/i18n/locales/uk.json b/client/src/i18n/locales/uk.jsonindex ca6d5591..e90f56ba 100644--- a/client/src/i18n/locales/uk.json+++ b/client/src/i18n/locales/uk.json@@ -344,7 +344,10 @@"weightSpeed": "швидкість","weightIntelligence": "Інтелект","weightRequired": "Принаймні одна вага повинна бути вище нуля.",- "scoreColumn": "Оцінка"+ "scoreColumn": "Оцінка",+ "minReliabilityFloor": "Minimum reliability floor",+ "minReliabilityFloorHint": "Drop a model from routing once its observed success rate falls below this. 0.8 means 80%. Leave blank to disable — models with too little history are always kept so new models can still be tried. Never empties the whole chain.",+ "minReliabilityFloorOff": "Disabled"},"penaltyInspector": {"title": "Тиск фрезера",diff --git a/client/src/i18n/locales/ur.json b/client/src/i18n/locales/ur.jsonindex 6bb12fe3..79467dbc 100644--- a/client/src/i18n/locales/ur.json+++ b/client/src/i18n/locales/ur.json@@ -344,7 +344,10 @@"weightSpeed": "رفتار","weightIntelligence": "ذہانت","weightRequired": "کم از کم ایک وزن صفر سے اوپر ہونا چاہیے۔",- "scoreColumn": "سکور"+ "scoreColumn": "سکور",+ "minReliabilityFloor": "Minimum reliability floor",+ "minReliabilityFloorHint": "Drop a model from routing once its observed success rate falls below this. 0.8 means 80%. Leave blank to disable — models with too little history are always kept so new models can still be tried. Never empties the whole chain.",+ "minReliabilityFloorOff": "Disabled"},"penaltyInspector": {"title": "راؤٹر کا دباؤ",diff --git a/client/src/i18n/locales/uz.json b/client/src/i18n/locales/uz.jsonindex c5e6670a..5532494c 100644--- a/client/src/i18n/locales/uz.json+++ b/client/src/i18n/locales/uz.json@@ -344,7 +344,10 @@"weightSpeed": "Tezlik","weightIntelligence": "Intellekt","weightRequired": "Kamida bitta vazn noldan yuqori bo'lishi kerak.",- "scoreColumn": "Gol"+ "scoreColumn": "Gol",+ "minReliabilityFloor": "Minimum reliability floor",+ "minReliabilityFloorHint": "Drop a model from routing once its observed success rate falls below this. 0.8 means 80%. Leave blank to disable — models with too little history are always kept so new models can still be tried. Never empties the whole chain.",+ "minReliabilityFloorOff": "Disabled"},"penaltyInspector": {"title": "Router bosimi",diff --git a/client/src/i18n/locales/vi.json b/client/src/i18n/locales/vi.jsonindex 56d9f11b..88229f13 100644--- a/client/src/i18n/locales/vi.json+++ b/client/src/i18n/locales/vi.json@@ -344,7 +344,10 @@"weightSpeed": "Tốc độ","weightIntelligence": "Tình báo","weightRequired": "Ít nhất một trọng lượng phải trên 0.",- "scoreColumn": "Điểm"+ "scoreColumn": "Điểm",+ "minReliabilityFloor": "Minimum reliability floor",+ "minReliabilityFloorHint": "Drop a model from routing once its observed success rate falls below this. 0.8 means 80%. Leave blank to disable — models with too little history are always kept so new models can still be tried. Never empties the whole chain.",+ "minReliabilityFloorOff": "Disabled"},"penaltyInspector": {"title": "Áp lực bộ định tuyến",diff --git a/client/src/i18n/locales/yo.json b/client/src/i18n/locales/yo.jsonindex 9ef2fd60..70d4a714 100644--- a/client/src/i18n/locales/yo.json+++ b/client/src/i18n/locales/yo.json@@ -344,7 +344,10 @@"weightSpeed": "Iyara","weightIntelligence": "Imọye","weightRequired": "O kere ju iwuwo kan gbọdọ jẹ loke odo.",- "scoreColumn": "Dimegilio"+ "scoreColumn": "Dimegilio",+ "minReliabilityFloor": "Minimum reliability floor",+ "minReliabilityFloorHint": "Drop a model from routing once its observed success rate falls below this. 0.8 means 80%. Leave blank to disable — models with too little history are always kept so new models can still be tried. Never empties the whole chain.",+ "minReliabilityFloorOff": "Disabled"},"penaltyInspector": {"title": "Ipa olulana",diff --git a/client/src/i18n/locales/zh-CN.json b/client/src/i18n/locales/zh-CN.jsonindex 2cf35947..c1cb7333 100644--- a/client/src/i18n/locales/zh-CN.json+++ b/client/src/i18n/locales/zh-CN.json@@ -320,6 +320,9 @@"title": "路由策略","description": "选择路由策略。手动模式下拖动即可设置顺序;其他策略会根据可靠性、速度和智能的实时评分进行路由。","weightsSummary": "可靠性 {reliability}% · 速度 {speed}% · 智能 {intelligence}%",+ "minReliabilityFloor": "最低可靠性门槛",+ "minReliabilityFloorHint": "当模型的实测成功率低于此值时将其移出路由。0.8 即 80%。留空表示关闭——历史样本不足的模型始终保留,以便新模型仍有机会被尝试。绝不会让整条链变空。",+ "minReliabilityFloorOff": "关闭","guardrails": "护栏","guardrailsTooltip": "始终生效的护栏:免费额度余量 × 实时限流惩罚。低于 1.0 表示该模型正在被抑制。","scoreTooltip": "最终路由得分 = 三个维度的加权平均值,再乘以护栏系数。得分越高越优先路由。",diff --git a/client/src/i18n/locales/zh-TW.json b/client/src/i18n/locales/zh-TW.jsonindex 4c11364f..6b194aee 100644--- a/client/src/i18n/locales/zh-TW.json+++ b/client/src/i18n/locales/zh-TW.json@@ -344,7 +344,10 @@"weightSpeed": "速度","weightIntelligence": "智慧","weightRequired": "至少一個權重必須大於零。",- "scoreColumn": "分數"+ "scoreColumn": "分數",+ "minReliabilityFloor": "最低可靠性門檻",+ "minReliabilityFloorHint": "模型實際成功率低於此值時不再參與路由。0.8 表示 80%。留空表示關閉——歷史樣本太少的模型始終保留,以便新模型仍有機會被嘗試。不會清空整條候選鏈。",+ "minReliabilityFloorOff": "關閉"},"penaltyInspector": {"title": "路由壓力",diff --git a/client/src/pages/FallbackPage.tsx b/client/src/pages/FallbackPage.tsxindex 33663254..092e7cb2 100644--- a/client/src/pages/FallbackPage.tsx+++ b/client/src/pages/FallbackPage.tsx@@ -48,6 +48,7 @@ import { ModelsTabs } from '@/components/models-tabs'import { Tooltip } from '@/components/tooltip'import { PenaltyInspector } from '@/components/penalty-inspector'import { PeakHoursControls } from '@/components/peak-hours-controls'+import { ReliabilityFloorControl } from '@/components/reliability-floor-control'import { ChainManager } from '@/components/chain-manager'// `tKey` is the i18n suffix under `strategies.*` (label) and `strategies.*Blurb`.@@ -488,6 +489,12 @@ export default function FallbackPage() {onSave={p => strategyMutation.mutate({ strategy, ...p })}/>)}++ {/* Minimum reliability floor (#filter): independent of the strategy+ snapshot — lives in settings, so it owns its own query/mutation.+ Shown in every mode; the floor pre-filters the candidate chain+ regardless of how models are ranked. */}+ <ReliabilityFloorControl /></div>)}diff --git a/server/src/__tests__/routes/settings-min-reliability-floor.test.ts b/server/src/__tests__/routes/settings-min-reliability-floor.test.tsnew file mode 100644index 00000000..bdf8fcce--- /dev/null+++ b/server/src/__tests__/routes/settings-min-reliability-floor.test.ts@@ -0,0 +1,65 @@+import { describe, it, expect, beforeAll } from 'vitest';+import type { Express } from 'express';+import { createApp } from '../../app.js';+import { initDb, getSetting } from '../../db/index.js';+import { mintDashboardToken } from '../helpers/auth.js';+import { MIN_RELIABILITY_FLOOR_KEY } from '../../services/router.js';++async function request(app: Express, method: string, path: string, body: any, token: string) {+ const server = app.listen(0, '127.0.0.1');+ if (!server.listening) await new Promise<void>(resolve => server.once('listening', () => resolve()));+ const addr = server.address() as any;+ const res = await fetch(`http://127.0.0.1:${addr.port}${path}`, {+ method,+ headers: { 'Content-Type': 'application/json', Authorization: `Bearer ${token}` },+ body: body === undefined ? undefined : JSON.stringify(body),+ });+ const raw = await res.text();+ server.close();+ let json: any = null;+ try { json = JSON.parse(raw); } catch {}+ return { status: res.status, body: json };+}++// GET/PUT /api/settings/min-reliability-floor (#filter): tunable floor that+// drops chronically-failing models from routing.+describe('/api/settings/min-reliability-floor', () => {+ let app: Express;+ let token: string;++ beforeAll(() => {+ process.env.ENCRYPTION_KEY = '0'.repeat(64);+ initDb(':memory:');+ app = createApp();+ token = mintDashboardToken();+ });++ it('reports null (disabled) before anything is configured', async () => {+ const { status, body } = await request(app, 'GET', '/api/settings/min-reliability-floor', undefined, token);+ expect(status).toBe(200);+ expect(body).toEqual({ floor: null });+ });++ it('stores and returns the configured floor', async () => {+ const put = await request(app, 'PUT', '/api/settings/min-reliability-floor', { floor: 0.8 }, token);+ expect(put.status).toBe(200);+ expect(put.body).toEqual({ floor: 0.8 });+ expect(getSetting(MIN_RELIABILITY_FLOOR_KEY)).toBe('0.8');++ const get = await request(app, 'GET', '/api/settings/min-reliability-floor', undefined, token);+ expect(get.body).toEqual(put.body);+ });++ it('clears the floor back to disabled with null', async () => {+ await request(app, 'PUT', '/api/settings/min-reliability-floor', { floor: 0.8 }, token);+ const put = await request(app, 'PUT', '/api/settings/min-reliability-floor', { floor: null }, token);+ expect(put.status).toBe(200);+ expect(put.body).toEqual({ floor: null });+ expect(getSetting(MIN_RELIABILITY_FLOOR_KEY)).toBeUndefined();+ });++ it('rejects an out-of-range floor', async () => {+ const put = await request(app, 'PUT', '/api/settings/min-reliability-floor', { floor: 1.5 }, token);+ expect(put.status).toBe(400);+ });+});diff --git a/server/src/__tests__/services/router-bandit.test.ts b/server/src/__tests__/services/router-bandit.test.tsindex 2bd2f95e..b64bed05 100644--- a/server/src/__tests__/services/router-bandit.test.ts+++ b/server/src/__tests__/services/router-bandit.test.ts@@ -4,6 +4,7 @@ import {getCustomWeights, setCustomWeights, getExploreEnabled, setExploreEnabled,getCommunityPrior, setCommunityPriors, getCommunityPriorEnabled, setCommunityPriorEnabled,getPeakHoursConfig, setPeakHoursConfig,+ setMinReliabilityFloor, applyReliabilityFloor,} from '../../services/router.js';import { BANDIT_PRESETS, DEFAULT_PEAK_HOURS } from '../../services/scoring.js';import { resetModelWeightOverrides } from '../../services/model-weight-overrides.js';@@ -550,3 +551,63 @@ describe('tool-rejecting models are deferred for tool requests (#1230)', () => {expect(route(true, first)).toBe('first');});});++describe('reliability floor filter', () => {+ beforeEach(() => {+ process.env.DEV_MODE = 'true';+ process.env.NODE_ENV = 'test';+ initDb(':memory:');+ getDb().exec('DELETE FROM fallback_config; DELETE FROM api_keys; DELETE FROM models; DELETE FROM requests;');+ vi.clearAllMocks();+ (ratelimit.canMakeRequest as any).mockReturnValue(true);+ (ratelimit.canUseTokens as any).mockReturnValue(true);+ (ratelimit.isOnCooldown as any).mockReturnValue(false);+ // isolation: floor off by default for every test+ setMinReliabilityFloor(null);+ });++ afterEach(() => {+ setMinReliabilityFloor(null);+ });++ it('drops a well-observed flaky model below the floor', () => {+ addModel({ platform: 'google', modelId: 'good', name: 'Good', intelligenceRank: 3, sizeLabel: 'Large', budget: '~50M', priority: 1 });+ addModel({ platform: 'groq', modelId: 'flaky', name: 'Flaky', intelligenceRank: 3, sizeLabel: 'Large', budget: '~50M', priority: 2 });+ addHistory('google', 'good', { successes: 60, failures: 1 }); // ~98% → above 0.8+ addHistory('groq', 'flaky', { successes: 5, failures: 40 }); // ~11% → below 0.8+ setRoutingStrategy('balanced');+ setMinReliabilityFloor(0.8);+ refreshStatsCache(getDb(), true);+ const counts = pickCounts(300);+ expect(counts['good'] ?? 0).toBe(300); // flaky never selected+ expect(counts['flaky'] ?? 0).toBe(0);+ });++ it('keeps an under-observed model despite a low gut-feel success rate', () => {+ addModel({ platform: 'google', modelId: 'seen', name: 'Seen', intelligenceRank: 3, sizeLabel: 'Large', budget: '~50M', priority: 1 });+ addModel({ platform: 'groq', modelId: 'fresh', name: 'Fresh', intelligenceRank: 3, sizeLabel: 'Large', budget: '~50M', priority: 2 });+ addHistory('google', 'seen', { successes: 60, failures: 1 });+ // 'fresh' has no history at all → fewer than EXPLORE_MIN_SAMPLES samples+ setMinReliabilityFloor(0.9);+ refreshStatsCache(getDb(), true);+ const chain = [+ { platform: 'google', model_id: 'seen', endpoint_scope: '' },+ { platform: 'groq', model_id: 'fresh', endpoint_scope: '' },+ ] as any[];+ const survivors = applyReliabilityFloor(chain).map(e => e.model_id);+ expect(survivors).toContain('seen'); // well-observed, above floor+ expect(survivors).toContain('fresh'); // under-observed → never dropped+ });++ it('never empties the whole chain — falls back to the full chain when all fail the floor', () => {+ addModel({ platform: 'google', modelId: 'a', name: 'A', intelligenceRank: 3, sizeLabel: 'Large', budget: '~50M', priority: 1 });+ addModel({ platform: 'groq', modelId: 'b', name: 'B', intelligenceRank: 3, sizeLabel: 'Large', budget: '~50M', priority: 2 });+ addHistory('google', 'a', { successes: 1, failures: 60 }); // below 0.99+ addHistory('groq', 'b', { successes: 1, failures: 60 }); // below 0.99+ setRoutingStrategy('balanced');+ setMinReliabilityFloor(0.99);+ refreshStatsCache(getDb(), true);+ const counts = pickCounts(100);+ expect((counts['a'] ?? 0) + (counts['b'] ?? 0)).toBe(100); // still routes somewhere+ });+});diff --git a/server/src/routes/settings.ts b/server/src/routes/settings.tsindex 5b89bbbd..5d99132e 100644--- a/server/src/routes/settings.ts+++ b/server/src/routes/settings.ts@@ -23,7 +23,7 @@ import {getCompressionConfig,setCompressionConfig,} from '../services/compression/config.js';-import { getHeadroomThresholds, setHeadroomThresholds, getTaskWeightShare, setTaskWeightShare } from '../services/router.js';+import { getHeadroomThresholds, setHeadroomThresholds, getTaskWeightShare, setTaskWeightShare, getMinReliabilityFloor, setMinReliabilityFloor } from '../services/router.js';import { MCP_ENABLED_SETTING, isMcpServerEnabled } from './mcp.js';import { z } from 'zod';import { getAppVersion } from '../lib/app-version.js';@@ -365,6 +365,34 @@ settingsRouter.put('/task-weight-share', (req: Request, res: Response) => {}});+// Minimum reliability floor (#filter): drop models whose observed success rate+// falls below this decimal (0.8 = 80%) from routing. Under-observed models stay+// in the exploration pool, and the floor never empties the whole chain. null =+// disabled (the default for existing installs).+settingsRouter.get('/min-reliability-floor', (_req: Request, res: Response) => {+ res.json({ floor: getMinReliabilityFloor() ?? null });+});++const minReliabilityFloorPutSchema = z.object({+ floor: z.number().min(0).max(1).nullable().optional(),+});++// Update the minimum reliability floor. null clears back to disabled. Takes+// effect on the next request — no restart needed.+settingsRouter.put('/min-reliability-floor', (req: Request, res: Response) => {+ const parsed = minReliabilityFloorPutSchema.safeParse(req.body);+ if (!parsed.success || parsed.data.floor === undefined) {+ res.status(400).json({ error: { message: 'Invalid min-reliability-floor: send {"floor": 0..1 | null}', type: 'invalid_request_error' } });+ return;+ }+ try {+ setMinReliabilityFloor(parsed.data.floor);+ res.json({ floor: getMinReliabilityFloor() ?? null });+ } catch (err: any) {+ res.status(400).json({ error: { message: `Invalid min-reliability-floor: ${err.message}`, type: 'invalid_request_error' } });+ }+});+// Update the guardrails. Partial: send just the knob you want to change.// Takes effect on the next request — no restart needed. 0 disables a knob.settingsRouter.put('/guardrails', (req: Request, res: Response) => {diff --git a/server/src/services/router.ts b/server/src/services/router.tsindex dac55b1a..d01fe7a6 100644--- a/server/src/services/router.ts+++ b/server/src/services/router.ts@@ -406,6 +406,34 @@ export function setHeadroomThresholds(rampStart?: number | null, floor?: numberapply(HEADROOM_FLOOR_KEY, floor);}+// ── Minimum reliability floor (#filter) ─────────────────────────────────────+// Operators who keep hitting models/keys with a high error rate can set a floor+// (0..1 decimal, e.g. 0.8 = drop anything observed below 80% success). Only+// models with enough live samples are judged; under-observed ones stay in the+// exploration pool so cold-start models are never silently killed. Absent/invalid+// values disable the filter (existing installs untouched).+export const MIN_RELIABILITY_FLOOR_KEY = 'routing_min_reliability_floor';++export function getMinReliabilityFloor(): number | undefined {+ const raw = getSetting(MIN_RELIABILITY_FLOOR_KEY);+ if (raw === undefined || raw.trim() === '') return undefined;+ const n = Number(raw);+ return Number.isFinite(n) && n >= 0 && n <= 1 ? n : undefined;+}++// null clears the floor back to the default (disabled); undefined leaves it untouched.+export function setMinReliabilityFloor(floor?: number | null): void {+ if (floor === undefined) return;+ if (floor === null) {+ getDb().prepare('DELETE FROM settings WHERE key = ?').run(MIN_RELIABILITY_FLOOR_KEY);+ return;+ }+ if (!Number.isFinite(floor) || floor < 0 || floor > 1) {+ throw new Error(`Invalid value ${floor} for ${MIN_RELIABILITY_FLOOR_KEY} (must be 0..1)`);+ }+ setSetting(MIN_RELIABILITY_FLOOR_KEY, String(floor));+}+// ── Task-type weight share (persisted) ─────────────────────────────────────// #1127 follow-up: the bandit bias applied for a declared/derived task type// moves `share` of one axis onto the other (code: speed → intelligence; chat:@@ -1069,6 +1097,37 @@ function scoreChainEntry(return { axes: { reliability, speed, intelligence }, headroom, rateLimit: rl, score };}+/**+ * Drop models whose observed success rate sits below the operator's reliability+ * floor. Under-observed models (fewer than EXPLORE_MIN_SAMPLES live samples)+ * are kept so cold-start models stay in the exploration pool. If the floor would+ * empty the whole chain, the filter is skipped entirely — better a possibly-flaky+ * model than no model at all. #filter.+ */+export function applyReliabilityFloor(chain: ChainRow[]): ChainRow[] {+ const floor = getMinReliabilityFloor();+ if (floor === undefined) return chain;++ const kept: ChainRow[] = [];+ const dropped: ChainRow[] = [];+ for (const e of chain) {+ const stats = statsCache?.get(modelStatsKey(e.platform, e.model_id, e.endpoint_scope));+ const total = (stats?.successes ?? 0) + (stats?.failures ?? 0);+ if (total < EXPLORE_MIN_SAMPLES) {+ kept.push(e); // not enough signal yet — keep exploring+ continue;+ }+ const rel = expectedReliability(+ stats!.successes, stats!.failures,+ activeCommunityPrior(e.platform, e.model_id, e.endpoint_scope),+ );+ if (rel < floor) dropped.push(e);+ else kept.push(e);+ }+ // Safety valve: never leave routing with an empty candidate set.+ return kept.length > 0 ? kept : chain;+}+/*** Order the enabled fallback chain for routing.* - 'priority' strategy → legacy manual order + 429 penalty (unchanged).@@ -1135,6 +1194,9 @@ function orderChain(chain: ChainRow[], strategy: RoutingStrategy, sampled = trueweights = adjusted.adjusted ? adjusted.weights : weights;}+ // Reliability floor: drop chronically-failing models before scoring (#filter).+ chain = applyReliabilityFloor(chain);+const composites = chain.map(e => intelligenceComposite(e.size_label, e.intelligence_rank));const intelMin = composites.length ? Math.min(...composites) : 0;const intelMax = composites.length ? Math.max(...composites) : 0;