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
Add a least-remaining key selection strategy (#930)
suantea (asuan_suan)c4c0221bcbb8
diff --git a/client/src/i18n/locales/am.json b/client/src/i18n/locales/am.jsonindex 326a3f32..b19b9d47 100644--- a/client/src/i18n/locales/am.json+++ b/client/src/i18n/locales/am.json@@ -279,6 +279,10 @@"strategies": {"explore": "ያልተለኩ ሞዴሎችን ያስሱ","exploreHint": "የአስተማማኝነት/የፍጥነት ውሂብ የሌላቸው ሞዴሎች ናሙና እንዲሰበስቡ 10% የመሞከር እድል ይሰጣል።",+ "keySelection": "የቁልፍ ምርጫ",+ "keySelectionAuto": "ራስ-ሰር",+ "keySelectionLeastRemaining": "ትንሹ የቀረው",+ "keySelectionHint": "ከአንድ አቅራቢ በርካታ ቁልፎች መካከል እንዴት እንደሚመረጥ። ራስ-ሰር አሁን ያለውን ተራ ይጠብቃል፤ ትንሹ የቀረው ቁልፎቹን በተስተዋለው ኮታ ደርድሮ ብዙ የቀረውን ቁልፍ አስቀድሞ ይሞክራል።","peakActive": "(የጫና ሰዓት)","peakActiveHint": "የጫና ሰዓት ማስተካከያ አሁን እየሠራ ነው፣ ስለዚህ እነዚህ የቅድመ-ቅንብሩ ራሱ ክብደቶች አይደሉም፦ ከፍጥነት ክብደት 60% ወደ አስተማማኝነት ተዛውሯል።","peakAdjust": "የጫና ሰዓት ማስተካከያ",diff --git a/client/src/i18n/locales/ar.json b/client/src/i18n/locales/ar.jsonindex 92f851b2..e635df31 100644--- a/client/src/i18n/locales/ar.json+++ b/client/src/i18n/locales/ar.json@@ -279,6 +279,10 @@"strategies": {"explore": "استكشاف النماذج غير المقيسة","exploreHint": "امنح النماذج التي لا تملك بيانات موثوقية/سرعة فرصة 10% للتجربة حتى تجمع عينات.",+ "keySelection": "اختيار المفتاح",+ "keySelectionAuto": "تلقائي",+ "keySelectionLeastRemaining": "الأقل تبقياً",+ "keySelectionHint": "كيفية الاختيار بين عدة مفاتيح لنفس المزوّد. \"تلقائي\" يبقي التناوب الحالي؛ و\"الأقل تبقياً\" يرتّب المفاتيح حسب الحصة المرصودة ويجرّب أولاً المفتاح الذي تبقّى له أكثر.","peakActive": "(ساعات الذروة)","peakActiveHint": "تعديل ساعات الذروة مفعّل الآن، لذا هذه ليست أوزان الإعداد المسبق نفسه: نُقل 60% من وزن السرعة إلى الموثوقية.","peakAdjust": "تعديل ساعات الذروة",diff --git a/client/src/i18n/locales/az.json b/client/src/i18n/locales/az.jsonindex 4cfc36ce..ba885353 100644--- a/client/src/i18n/locales/az.json+++ b/client/src/i18n/locales/az.json@@ -279,6 +279,10 @@"strategies": {"explore": "Ölçülməmiş modelləri araşdır","exploreHint": "Etibarlılıq/sürət məlumatı olmayan modellərə nümunə toplamaları üçün 10% sınaq şansı verin.",+ "keySelection": "Açar seçimi",+ "keySelectionAuto": "Avtomatik",+ "keySelectionLeastRemaining": "Ən az qalan",+ "keySelectionHint": "Eyni provayderin bir neçə açarı arasında necə seçim ediləcəyi. Avtomatik cari növbəni saxlayır; Ən az qalan açarları müşahidə olunan kvotaya görə sıralayır və ən çox qalanı ilk sınayır.","peakActive": "(pik saatlar)","peakActiveHint": "Pik saat tənzimləməsi hazırda aktivdir, ona görə bunlar hazır dəstin öz çəkiləri deyil: sürət çəkisinin 60%-i etibarlılığa keçirilib.","peakAdjust": "Pik saat tənzimləməsi",diff --git a/client/src/i18n/locales/bg.json b/client/src/i18n/locales/bg.jsonindex f331d637..cdb68b98 100644--- a/client/src/i18n/locales/bg.json+++ b/client/src/i18n/locales/bg.json@@ -279,6 +279,10 @@"strategies": {"explore": "Изследване на неизмерени модели","exploreHint": "Дава на модели без данни за надеждност/скорост 10% шанс да бъдат изпробвани, за да натрупат извадки.",+ "keySelection": "Избор на ключ",+ "keySelectionAuto": "Автоматично",+ "keySelectionLeastRemaining": "Най-малко остатък",+ "keySelectionHint": "Как се избира между няколко ключа на един и същ доставчик. Автоматично запазва текущото редуване; Най-малко остатък подрежда ключовете по наблюдаваната квота и първо опитва този с най-много останало.","peakActive": "(пикови часове)","peakActiveHint": "Корекцията за пиковите часове е активна в момента, така че това не са собствените тегла на предварителната настройка: 60% от теглото на скоростта е прехвърлено към надеждността.","peakAdjust": "Корекция за пикови часове",diff --git a/client/src/i18n/locales/bn.json b/client/src/i18n/locales/bn.jsonindex c147f3ef..fcd118e2 100644--- a/client/src/i18n/locales/bn.json+++ b/client/src/i18n/locales/bn.json@@ -279,6 +279,10 @@"strategies": {"explore": "অপরিমাপিত মডেল অন্বেষণ করুন","exploreHint": "নির্ভরযোগ্যতা/গতির ডেটা নেই এমন মডেলগুলিকে নমুনা তৈরির জন্য 10% চেষ্টার সুযোগ দিন।",+ "keySelection": "কী নির্বাচন",+ "keySelectionAuto": "স্বয়ংক্রিয়",+ "keySelectionLeastRemaining": "সবচেয়ে কম অবশিষ্ট",+ "keySelectionHint": "একই প্রদানকারীর একাধিক কী-এর মধ্যে কীভাবে বাছাই করা হবে। স্বয়ংক্রিয় বর্তমান রোটেশন বজায় রাখে; সবচেয়ে কম অবশিষ্ট পর্যবেক্ষিত কোটা অনুযায়ী কী সাজায় এবং সবচেয়ে বেশি বাকি থাকা কী আগে চেষ্টা করে।","peakActive": "(ব্যস্ত সময়)","peakActiveHint": "ব্যস্ত-সময় সমন্বয় এখন সক্রিয়, তাই এগুলো প্রিসেটের নিজস্ব ওজন নয়: গতির ওজনের ৬০% নির্ভরযোগ্যতায় সরানো হয়েছে।","peakAdjust": "ব্যস্ত-সময় সমন্বয়",diff --git a/client/src/i18n/locales/cs.json b/client/src/i18n/locales/cs.jsonindex 6da54703..e79aa22b 100644--- a/client/src/i18n/locales/cs.json+++ b/client/src/i18n/locales/cs.json@@ -279,6 +279,10 @@"strategies": {"explore": "Prozkoumávat nezměřené modely","exploreHint": "Dá modelům bez dat o spolehlivosti/rychlosti 10% šanci na vyzkoušení, aby nasbíraly vzorky.",+ "keySelection": "Výběr klíče",+ "keySelectionAuto": "Automaticky",+ "keySelectionLeastRemaining": "Nejméně zbývá",+ "keySelectionHint": "Jak se vybírá mezi několika klíči téhož poskytovatele. Automaticky zachová stávající střídání; Nejméně zbývá seřadí klíče podle zjištěné kvóty a nejdřív zkusí ten, kterému zbývá nejvíc.","peakActive": "(špička)","peakActiveHint": "Úprava pro špičku je právě aktivní, takže tohle nejsou váhy samotné předvolby: 60 % váhy rychlosti se přesunulo na spolehlivost.","peakAdjust": "Úprava pro špičku",diff --git a/client/src/i18n/locales/da.json b/client/src/i18n/locales/da.jsonindex e4f2184f..c553cdea 100644--- a/client/src/i18n/locales/da.json+++ b/client/src/i18n/locales/da.json@@ -279,6 +279,10 @@"strategies": {"explore": "Udforsk umålte modeller","exploreHint": "Giver modeller uden pålideligheds-/hastighedsdata en chance på 10 % for at blive prøvet, så de opbygger stikprøver.",+ "keySelection": "Nøglevalg",+ "keySelectionAuto": "Automatisk",+ "keySelectionLeastRemaining": "Mindst tilbage",+ "keySelectionHint": "Hvordan der vælges mellem flere nøgler hos samme udbyder. Automatisk beholder den nuværende rotation; Mindst tilbage rangordner nøglerne efter observeret kvote og prøver først den, der har mest tilbage.","peakActive": "(spidsbelastning)","peakActiveHint": "Justeringen for spidsbelastning er aktiv lige nu, så det er ikke forudindstillingens egne vægte: 60 % af hastighedsvægten er flyttet til pålidelighed.","peakAdjust": "Justering for spidsbelastning",diff --git a/client/src/i18n/locales/de.json b/client/src/i18n/locales/de.jsonindex 2f494d42..c4f38a37 100644--- a/client/src/i18n/locales/de.json+++ b/client/src/i18n/locales/de.json@@ -279,6 +279,10 @@"strategies": {"explore": "Unvermessene Modelle erkunden","exploreHint": "Gibt Modellen ohne Zuverlässigkeits-/Geschwindigkeitsdaten eine 10-%-Chance, ausprobiert zu werden, damit sie Stichproben aufbauen.",+ "keySelection": "Schlüsselauswahl",+ "keySelectionAuto": "Automatisch",+ "keySelectionLeastRemaining": "Geringstes Restkontingent",+ "keySelectionHint": "Wie zwischen mehreren Schlüsseln desselben Anbieters gewählt wird. Automatisch behält die bisherige Rotation bei; Geringstes Restkontingent sortiert die Schlüssel nach beobachtetem Kontingent und probiert zuerst den mit dem meisten Rest.","peakActive": "(Stoßzeiten)","peakActiveHint": "Die Stoßzeiten-Anpassung ist gerade aktiv, das sind also nicht die Gewichte des Presets selbst: 60 % des Geschwindigkeitsgewichts sind auf Zuverlässigkeit verschoben.","peakAdjust": "Stoßzeiten-Anpassung",diff --git a/client/src/i18n/locales/el.json b/client/src/i18n/locales/el.jsonindex f50bf14b..e5f49a2e 100644--- a/client/src/i18n/locales/el.json+++ b/client/src/i18n/locales/el.json@@ -279,6 +279,10 @@"strategies": {"explore": "Εξερεύνηση μη μετρημένων μοντέλων","exploreHint": "Δίνει στα μοντέλα χωρίς δεδομένα αξιοπιστίας/ταχύτητας 10% πιθανότητα να δοκιμαστούν ώστε να συγκεντρώσουν δείγματα.",+ "keySelection": "Επιλογή κλειδιού",+ "keySelectionAuto": "Αυτόματα",+ "keySelectionLeastRemaining": "Λιγότερο υπόλοιπο",+ "keySelectionHint": "Πώς γίνεται η επιλογή ανάμεσα σε πολλά κλειδιά του ίδιου παρόχου. Το Αυτόματα διατηρεί την τρέχουσα εναλλαγή· το Λιγότερο υπόλοιπο ταξινομεί τα κλειδιά με βάση το παρατηρούμενο όριο και δοκιμάζει πρώτα εκείνο με το μεγαλύτερο υπόλοιπο.","peakActive": "(ώρες αιχμής)","peakActiveHint": "Η προσαρμογή για τις ώρες αιχμής είναι ενεργή αυτή τη στιγμή, οπότε αυτά δεν είναι τα βάρη της ίδιας της προεπιλογής: το 60% του βάρους ταχύτητας μεταφέρθηκε στην αξιοπιστία.","peakAdjust": "Προσαρμογή ωρών αιχμής",diff --git a/client/src/i18n/locales/en.json b/client/src/i18n/locales/en.jsonindex de445287..a8173018 100644--- a/client/src/i18n/locales/en.json+++ b/client/src/i18n/locales/en.json@@ -279,6 +279,10 @@"strategies": {"explore": "Explore unmeasured models","exploreHint": "Give models without reliability/speed data a 10% chance to be tried so they build samples.",+ "keySelection": "Key selection",+ "keySelectionAuto": "Auto",+ "keySelectionLeastRemaining": "Least remaining",+ "keySelectionHint": "How to choose between several keys on the same provider. Auto keeps the current rotation; Least remaining ranks keys by observed quota and tries the one with the most left first.","peakActive": "(peak hours)","peakActiveHint": "The peak-hours adjustment is active right now, so these are not the preset's own weights: 60% of the speed weight has moved onto reliability.","peakAdjust": "Peak-hours adjustment",diff --git a/client/src/i18n/locales/es.json b/client/src/i18n/locales/es.jsonindex 2847104a..6e34521c 100644--- a/client/src/i18n/locales/es.json+++ b/client/src/i18n/locales/es.json@@ -279,6 +279,10 @@"strategies": {"explore": "Explorar modelos sin mediciones","exploreHint": "Da a los modelos sin datos de fiabilidad/velocidad un 10 % de probabilidad de ser probados para que acumulen muestras.",+ "keySelection": "Selección de clave",+ "keySelectionAuto": "Automática",+ "keySelectionLeastRemaining": "Menos restante",+ "keySelectionHint": "Cómo elegir entre varias claves del mismo proveedor. Automática mantiene la rotación actual; Menos restante ordena las claves por la cuota observada y prueba primero la que más le queda.","peakActive": "(horas punta)","peakActiveHint": "El ajuste de horas punta está activo ahora mismo, así que estos no son los pesos propios del preajuste: el 60 % del peso de velocidad se ha trasladado a fiabilidad.","peakAdjust": "Ajuste de horas punta",diff --git a/client/src/i18n/locales/fa.json b/client/src/i18n/locales/fa.jsonindex e59ec896..a27d493d 100644--- a/client/src/i18n/locales/fa.json+++ b/client/src/i18n/locales/fa.json@@ -279,6 +279,10 @@"strategies": {"explore": "کاوش مدلهای اندازهگیرینشده","exploreHint": "به مدلهایی که داده قابلیت اطمینان/سرعت ندارند 10٪ شانس امتحان شدن بدهید تا نمونه جمع کنند.",+ "keySelection": "انتخاب کلید",+ "keySelectionAuto": "خودکار",+ "keySelectionLeastRemaining": "کمترین باقیمانده",+ "keySelectionHint": "نحوهٔ انتخاب میان چند کلید یک ارائهدهنده. خودکار چرخش فعلی را حفظ میکند؛ کمترین باقیمانده کلیدها را بر پایهٔ سهمیهٔ مشاهدهشده مرتب میکند و ابتدا کلیدی را میآزماید که بیشترین سهمیه برایش مانده است.","peakActive": "(ساعات اوج)","peakActiveHint": "تنظیم ساعات اوج هماکنون فعال است، بنابراین اینها وزنهای خود پیشتنظیم نیستند: ۶۰٪ از وزن سرعت به قابلیت اطمینان منتقل شده است.","peakAdjust": "تنظیم ساعات اوج",diff --git a/client/src/i18n/locales/fi.json b/client/src/i18n/locales/fi.jsonindex 54e2f49b..8acdc821 100644--- a/client/src/i18n/locales/fi.json+++ b/client/src/i18n/locales/fi.json@@ -279,6 +279,10 @@"strategies": {"explore": "Tutki mittaamattomia malleja","exploreHint": "Antaa malleille, joilla ei ole luotettavuus-/nopeusdataa, 10 %:n mahdollisuuden tulla kokeilluiksi, jotta ne keräävät näytteitä.",+ "keySelection": "Avaimen valinta",+ "keySelectionAuto": "Automaattinen",+ "keySelectionLeastRemaining": "Vähiten jäljellä",+ "keySelectionHint": "Miten valitaan saman palveluntarjoajan useista avaimista. Automaattinen säilyttää nykyisen kierron; Vähiten jäljellä järjestää avaimet havaitun kiintiön mukaan ja kokeilee ensin sitä, jolla on eniten jäljellä.","peakActive": "(ruuhka-aika)","peakActiveHint": "Ruuhka-ajan säätö on nyt käytössä, joten nämä eivät ole esiasetuksen omat painot: 60 % nopeuden painosta on siirretty luotettavuudelle.","peakAdjust": "Ruuhka-ajan säätö",diff --git a/client/src/i18n/locales/fr.json b/client/src/i18n/locales/fr.jsonindex 2a09cd2c..42a4c126 100644--- a/client/src/i18n/locales/fr.json+++ b/client/src/i18n/locales/fr.json@@ -279,6 +279,10 @@"strategies": {"explore": "Explorer les modèles non mesurés","exploreHint": "Donne aux modèles sans données de fiabilité/vitesse 10 % de chances d'être essayés afin qu'ils accumulent des échantillons.",+ "keySelection": "Choix de la clé",+ "keySelectionAuto": "Auto",+ "keySelectionLeastRemaining": "Reste le moins",+ "keySelectionHint": "Comment choisir entre plusieurs clés d'un même fournisseur. Auto conserve la rotation actuelle ; Reste le moins classe les clés selon le quota observé et essaie d'abord celle qui en a le plus.","peakActive": "(heures de pointe)","peakActiveHint": "L'ajustement des heures de pointe est actif en ce moment, donc ce ne sont pas les pondérations propres au préréglage : 60 % du poids de la vitesse a été reporté sur la fiabilité.","peakAdjust": "Ajustement des heures de pointe",diff --git a/client/src/i18n/locales/gu.json b/client/src/i18n/locales/gu.jsonindex 493ea4d4..53ceadba 100644--- a/client/src/i18n/locales/gu.json+++ b/client/src/i18n/locales/gu.json@@ -279,6 +279,10 @@"strategies": {"explore": "માપ્યા વગરના મોડલ્સ એક્સપ્લોર કરો","exploreHint": "વિશ્વસનીયતા/ઝડપ ડેટા વગરના મોડલ્સને નમૂના એકત્રિત કરવા 10% અજમાવવાની તક આપો.",+ "keySelection": "કી પસંદગી",+ "keySelectionAuto": "આપોઆપ",+ "keySelectionLeastRemaining": "સૌથી ઓછું બાકી",+ "keySelectionHint": "એક જ પ્રદાતાની અનેક કીમાંથી કેવી રીતે પસંદ કરવું. આપોઆપ હાલનું રોટેશન જાળવે છે; સૌથી ઓછું બાકી અવલોકન કરેલા ક્વોટા પ્રમાણે કીને ક્રમમાં ગોઠવે છે અને સૌથી વધુ બાકી હોય તે કી પહેલાં અજમાવે છે.","peakActive": "(વ્યસ્ત સમય)","peakActiveHint": "વ્યસ્ત-સમય સમાયોજન અત્યારે સક્રિય છે, તેથી આ પ્રીસેટના પોતાના વજન નથી: ઝડપના વજનનો 60% વિશ્વસનીયતા પર ખસેડાયો છે.","peakAdjust": "વ્યસ્ત-સમય સમાયોજન",diff --git a/client/src/i18n/locales/ha.json b/client/src/i18n/locales/ha.jsonindex 1c7f42e0..d9bcc8be 100644--- a/client/src/i18n/locales/ha.json+++ b/client/src/i18n/locales/ha.json@@ -279,6 +279,10 @@"strategies": {"explore": "Bincika samfuran da ba a auna ba","exploreHint": "Ba samfuran da ba su da bayanan aminci/sauri damar 10% a gwada su domin su tara bayanai.",+ "keySelection": "Zaɓin maɓalli",+ "keySelectionAuto": "Ta atomatik",+ "keySelectionLeastRemaining": "Mafi ƙarancin saura",+ "keySelectionHint": "Yadda ake zaɓi tsakanin maɓallai da yawa na mai bayarwa ɗaya. Ta atomatik yana riƙe da jujjuyawar yanzu; Mafi ƙarancin saura yana jera maɓallai bisa ƙimar da aka lura da ita kuma yana gwada wanda ya fi sauran da farko.","peakActive": "(lokutan cunkoso)","peakActiveHint": "Gyaran lokutan cunkoso yana aiki yanzu, don haka waɗannan ba nauyin saitin kansa ba ne: kashi 60 na nauyin gudu an mayar da shi ga aminci.","peakAdjust": "Gyaran lokutan cunkoso",diff --git a/client/src/i18n/locales/he.json b/client/src/i18n/locales/he.jsonindex caaba9de..08472d87 100644--- a/client/src/i18n/locales/he.json+++ b/client/src/i18n/locales/he.json@@ -279,6 +279,10 @@"strategies": {"explore": "חקירת דגמים שטרם נמדדו","exploreHint": "נותן לדגמים ללא נתוני אמינות/מהירות סיכוי של 10% להיבחר לניסיון כדי שיצברו דגימות.",+ "keySelection": "בחירת מפתח",+ "keySelectionAuto": "אוטומטי",+ "keySelectionLeastRemaining": "הכי מעט נותר",+ "keySelectionHint": "כיצד לבחור בין כמה מפתחות של אותו ספק. אוטומטי שומר על הסבב הנוכחי; הכי מעט נותר מדרג את המפתחות לפי המכסה שנצפתה ומנסה תחילה את זה שנותר לו הכי הרבה.","peakActive": "(שעות שיא)","peakActiveHint": "התאמת שעות השיא פעילה כרגע, ולכן אלו אינם המשקלים של הפריסט עצמו: 60% ממשקל המהירות הועברו לאמינות.","peakAdjust": "התאמת שעות שיא",diff --git a/client/src/i18n/locales/hi.json b/client/src/i18n/locales/hi.jsonindex f455822e..fd233724 100644--- a/client/src/i18n/locales/hi.json+++ b/client/src/i18n/locales/hi.json@@ -279,6 +279,10 @@"strategies": {"explore": "बिना मापे गए मॉडल एक्सप्लोर करें","exploreHint": "विश्वसनीयता/गति डेटा रहित मॉडल को नमूने जुटाने के लिए 10% आज़माए जाने का मौका दें।",+ "keySelection": "कुंजी चयन",+ "keySelectionAuto": "स्वतः",+ "keySelectionLeastRemaining": "सबसे कम शेष",+ "keySelectionHint": "एक ही प्रदाता की कई कुंजियों में से चुनने का तरीका। स्वतः मौजूदा रोटेशन बनाए रखता है; सबसे कम शेष कुंजियों को देखे गए कोटा से क्रमबद्ध करता है और सबसे अधिक शेष वाली कुंजी पहले आज़माता है।","peakActive": "(व्यस्त समय)","peakActiveHint": "व्यस्त-समय समायोजन अभी सक्रिय है, इसलिए ये प्रीसेट के अपने भार नहीं हैं: गति के भार का 60% विश्वसनीयता पर स्थानांतरित हो चुका है।","peakAdjust": "व्यस्त-समय समायोजन",diff --git a/client/src/i18n/locales/hr.json b/client/src/i18n/locales/hr.jsonindex ffd87b95..2624c1f8 100644--- a/client/src/i18n/locales/hr.json+++ b/client/src/i18n/locales/hr.json@@ -279,6 +279,10 @@"strategies": {"explore": "Istraži nemjerene modele","exploreHint": "Modelima bez podataka o pouzdanosti/brzini daje 10 % šanse da budu isprobani kako bi prikupili uzorke.",+ "keySelection": "Odabir ključa",+ "keySelectionAuto": "Automatski",+ "keySelectionLeastRemaining": "Najmanje preostalo",+ "keySelectionHint": "Kako se bira između više ključeva istog pružatelja. Automatski zadržava trenutačnu rotaciju; Najmanje preostalo rangira ključeve prema opaženoj kvoti i prvo isprobava onaj kojemu je najviše preostalo.","peakActive": "(vršni sati)","peakActiveHint": "Prilagodba za vršne sate trenutno je aktivna, pa ovo nisu težine same postavke: 60 % težine brzine prebačeno je na pouzdanost.","peakAdjust": "Prilagodba za vršne sate",diff --git a/client/src/i18n/locales/hu.json b/client/src/i18n/locales/hu.jsonindex 99cd3095..673198ed 100644--- a/client/src/i18n/locales/hu.json+++ b/client/src/i18n/locales/hu.json@@ -279,6 +279,10 @@"strategies": {"explore": "Nem mért modellek felfedezése","exploreHint": "A megbízhatósági/sebességi adatok nélküli modellek 10% eséllyel kipróbálásra kerülnek, hogy mintákat gyűjtsenek.",+ "keySelection": "Kulcsválasztás",+ "keySelectionAuto": "Automatikus",+ "keySelectionLeastRemaining": "Legkevesebb maradt",+ "keySelectionHint": "Hogyan válasszon a rendszer ugyanazon szolgáltató több kulcsa közül. Az Automatikus megtartja a jelenlegi váltogatást; a Legkevesebb maradt a megfigyelt kvóta szerint rendezi a kulcsokat, és először azt próbálja, amelyiknek a legtöbb maradt.","peakActive": "(csúcsidő)","peakActiveHint": "A csúcsidei kiigazítás éppen aktív, tehát ezek nem az előbeállítás saját súlyai: a sebességsúly 60%-a a megbízhatóságra került át.","peakAdjust": "Csúcsidei kiigazítás",diff --git a/client/src/i18n/locales/id.json b/client/src/i18n/locales/id.jsonindex 2547d81f..c25283ba 100644--- a/client/src/i18n/locales/id.json+++ b/client/src/i18n/locales/id.json@@ -279,6 +279,10 @@"strategies": {"explore": "Jelajahi model yang belum terukur","exploreHint": "Beri model tanpa data keandalan/kecepatan peluang 10% untuk dicoba agar mengumpulkan sampel.",+ "keySelection": "Pemilihan kunci",+ "keySelectionAuto": "Otomatis",+ "keySelectionLeastRemaining": "Sisa paling sedikit",+ "keySelectionHint": "Cara memilih di antara beberapa kunci pada penyedia yang sama. Otomatis mempertahankan rotasi saat ini; Sisa paling sedikit mengurutkan kunci berdasarkan kuota yang teramati dan mencoba yang sisanya paling banyak lebih dulu.","peakActive": "(jam sibuk)","peakActiveHint": "Penyesuaian jam sibuk sedang aktif, jadi ini bukan bobot preset itu sendiri: 60% bobot kecepatan telah dipindahkan ke keandalan.","peakAdjust": "Penyesuaian jam sibuk",diff --git a/client/src/i18n/locales/ig.json b/client/src/i18n/locales/ig.jsonindex 960d7322..8c835206 100644--- a/client/src/i18n/locales/ig.json+++ b/client/src/i18n/locales/ig.json@@ -279,6 +279,10 @@"strategies": {"explore": "Nyochaa ụdị a na-atụbeghị","exploreHint": "Nye ụdị na-enweghị data ntụkwasị obi/ọsọ ohere 10% ka a nwalee ha ka ha wee chịkọta data.",+ "keySelection": "Nhọrọ igodo",+ "keySelectionAuto": "Akpaghị aka",+ "keySelectionLeastRemaining": "Nke fọdụrụ kacha nta",+ "keySelectionHint": "Otú e si ahọrọ n'etiti ọtụtụ igodo nke otu onye na-eweta. Akpaghị aka na-edobe ntụgharị dị ugbu a; Nke fọdụrụ kacha nta na-ahazi igodo site na oke a hụrụ ma nwaa nke fọdụrụ nke kacha ukwuu mbụ.","peakActive": "(oge ọrụ kachasị)","peakActiveHint": "Ndozi oge ọrụ kachasị na-arụ ọrụ ugbu a, ya mere ndị a abụghị ibu nke preset n'onwe ya: 60% nke ibu ọsọ agafeela na ntụkwasị obi.","peakAdjust": "Ndozi oge ọrụ kachasị",diff --git a/client/src/i18n/locales/it.json b/client/src/i18n/locales/it.jsonindex 4ce6ca05..bf714600 100644--- a/client/src/i18n/locales/it.json+++ b/client/src/i18n/locales/it.json@@ -279,6 +279,10 @@"strategies": {"explore": "Esplora i modelli non misurati","exploreHint": "Dà ai modelli senza dati di affidabilità/velocità una probabilità del 10% di essere provati così da accumulare campioni.",+ "keySelection": "Selezione della chiave",+ "keySelectionAuto": "Automatica",+ "keySelectionLeastRemaining": "Meno residuo",+ "keySelectionHint": "Come scegliere tra più chiavi dello stesso provider. Automatica mantiene la rotazione attuale; Meno residuo ordina le chiavi in base alla quota osservata e prova per prima quella con più margine.","peakActive": "(ore di punta)","peakActiveHint": "La regolazione per le ore di punta è attiva in questo momento, quindi questi non sono i pesi del preset: il 60% del peso della velocità è passato all'affidabilità.","peakAdjust": "Regolazione per le ore di punta",diff --git a/client/src/i18n/locales/ja.json b/client/src/i18n/locales/ja.jsonindex fa1d0c3b..7fa1ab03 100644--- a/client/src/i18n/locales/ja.json+++ b/client/src/i18n/locales/ja.json@@ -279,6 +279,10 @@"strategies": {"explore": "未計測のモデルを探索","exploreHint": "信頼性・スピードのデータがないモデルに10%の確率で試行の機会を与え、サンプルを蓄積させます。",+ "keySelection": "キーの選択",+ "keySelectionAuto": "自動",+ "keySelectionLeastRemaining": "残量が少ない順",+ "keySelectionHint": "同じプロバイダーに複数のキーがある場合の選び方です。自動は現在のローテーションを維持します。残量が少ない順は観測されたクォータでキーを並べ替え、残りが最も多いキーから試します。","peakActive": "(ピーク時間帯)","peakActiveHint": "ピーク時間帯の調整が現在有効なため、これはプリセット本来の重みではありません。スピードの重みの60%が信頼性へ移っています。","peakAdjust": "ピーク時間帯の調整",diff --git a/client/src/i18n/locales/ka.json b/client/src/i18n/locales/ka.jsonindex 5cdf902e..f920e3ff 100644--- a/client/src/i18n/locales/ka.json+++ b/client/src/i18n/locales/ka.json@@ -279,6 +279,10 @@"strategies": {"explore": "გაუზომავი მოდელების შესწავლა","exploreHint": "საიმედოობის/სიჩქარის მონაცემების არმქონე მოდელებს აძლევს 10%-იან შანსს, რომ გამოიცადონ და ნიმუშები დააგროვონ.",+ "keySelection": "გასაღების არჩევა",+ "keySelectionAuto": "ავტომატური",+ "keySelectionLeastRemaining": "ყველაზე ნაკლები დარჩენილი",+ "keySelectionHint": "როგორ ხდება არჩევანი ერთი და იმავე პროვაიდერის რამდენიმე გასაღებს შორის. ავტომატური ინარჩუნებს მიმდინარე როტაციას; ყველაზე ნაკლები დარჩენილი ალაგებს გასაღებებს დაფიქსირებული კვოტის მიხედვით და ჯერ იმას სცდის, რომელსაც ყველაზე მეტი დარჩა.","peakActive": "(პიკის საათები)","peakActiveHint": "პიკის საათების კორექტირება ამჟამად აქტიურია, ამიტომ ეს არ არის თავად წინასწარი პარამეტრის წონები: სიჩქარის წონის 60% გადავიდა საიმედოობაზე.","peakAdjust": "პიკის საათების კორექტირება",diff --git a/client/src/i18n/locales/km.json b/client/src/i18n/locales/km.jsonindex 8b096596..0bb73120 100644--- a/client/src/i18n/locales/km.json+++ b/client/src/i18n/locales/km.json@@ -279,6 +279,10 @@"strategies": {"explore": "ស្វែងរកម៉ូដែលដែលមិនទាន់វាស់វែង","exploreHint": "ផ្តល់ឱ្យម៉ូដែលដែលគ្មានទិន្នន័យភាពទុកចិត្ត/ល្បឿន ឱកាស 10% ដើម្បីសាកល្បង ដើម្បីប្រមូលគំរូ។",+ "keySelection": "ការជ្រើសរើសកូនសោ",+ "keySelectionAuto": "ស្វ័យប្រវត្តិ",+ "keySelectionLeastRemaining": "នៅសល់តិចបំផុត",+ "keySelectionHint": "របៀបជ្រើសរើសក្នុងចំណោមកូនសោច្រើនរបស់អ្នកផ្តល់សេវាតែមួយ។ ស្វ័យប្រវត្តិរក្សាការវិលជុំបច្ចុប្បន្ន។ នៅសល់តិចបំផុតរៀបចំកូនសោតាមកូតាដែលបានសង្កេត ហើយសាកល្បងកូនសោដែលនៅសល់ច្រើនបំផុតមុនគេ។","peakActive": "(ម៉ោងមមាញឹក)","peakActiveHint": "ការកែតម្រូវម៉ោងមមាញឹកកំពុងដំណើរការ ដូច្នេះទាំងនេះមិនមែនជាទម្ងន់របស់ការកំណត់ជាមុនផ្ទាល់ទេ៖ ៦០% នៃទម្ងន់ល្បឿនត្រូវបានផ្លាស់ទៅភាពជឿជាក់។","peakAdjust": "ការកែតម្រូវម៉ោងមមាញឹក",diff --git a/client/src/i18n/locales/kn.json b/client/src/i18n/locales/kn.jsonindex e92d7df7..eef98766 100644--- a/client/src/i18n/locales/kn.json+++ b/client/src/i18n/locales/kn.json@@ -279,6 +279,10 @@"strategies": {"explore": "ಅಳೆಯದ ಮಾದರಿಗಳನ್ನು ಅನ್ವೇಷಿಸಿ","exploreHint": "ವಿಶ್ವಾಸಾರ್ಹತೆ/ವೇಗ ಡೇಟಾ ಇಲ್ಲದ ಮಾದರಿಗಳಿಗೆ ಸ್ಯಾಂಪಲ್ಗಳನ್ನು ಸಂಗ್ರಹಿಸಲು 10% ಪ್ರಯತ್ನದ ಅವಕಾಶ ನೀಡಿ.",+ "keySelection": "ಕೀ ಆಯ್ಕೆ",+ "keySelectionAuto": "ಸ್ವಯಂ",+ "keySelectionLeastRemaining": "ಅತಿ ಕಡಿಮೆ ಉಳಿದಿರುವುದು",+ "keySelectionHint": "ಒಂದೇ ಪೂರೈಕೆದಾರರ ಹಲವು ಕೀಗಳ ನಡುವೆ ಹೇಗೆ ಆರಿಸುವುದು. ಸ್ವಯಂ ಪ್ರಸ್ತುತ ಸರದಿಯನ್ನು ಉಳಿಸಿಕೊಳ್ಳುತ್ತದೆ; ಅತಿ ಕಡಿಮೆ ಉಳಿದಿರುವುದು ಗಮನಿಸಿದ ಕೋಟಾದ ಪ್ರಕಾರ ಕೀಗಳನ್ನು ಜೋಡಿಸಿ, ಹೆಚ್ಚು ಉಳಿದಿರುವ ಕೀಯನ್ನು ಮೊದಲು ಪ್ರಯತ್ನಿಸುತ್ತದೆ.","peakActive": "(ದಟ್ಟಣೆಯ ಸಮಯ)","peakActiveHint": "ದಟ್ಟಣೆಯ ಸಮಯದ ಹೊಂದಾಣಿಕೆ ಸದ್ಯ ಸಕ್ರಿಯವಾಗಿದೆ, ಆದ್ದರಿಂದ ಇವು ಪ್ರೀಸೆಟ್ನ ಸ್ವಂತ ತೂಕಗಳಲ್ಲ: ವೇಗದ ತೂಕದ 60% ವಿಶ್ವಾಸಾರ್ಹತೆಗೆ ವರ್ಗಾವಣೆಯಾಗಿದೆ.","peakAdjust": "ದಟ್ಟಣೆಯ ಸಮಯದ ಹೊಂದಾಣಿಕೆ",diff --git a/client/src/i18n/locales/ko.json b/client/src/i18n/locales/ko.jsonindex 31dc3cb3..e9a6aca3 100644--- a/client/src/i18n/locales/ko.json+++ b/client/src/i18n/locales/ko.json@@ -279,6 +279,10 @@"strategies": {"explore": "미측정 모델 탐색","exploreHint": "신뢰성/속도 데이터가 없는 모델에 10% 확률로 시도 기회를 주어 샘플을 쌓게 합니다.",+ "keySelection": "키 선택",+ "keySelectionAuto": "자동",+ "keySelectionLeastRemaining": "잔여량 기준",+ "keySelectionHint": "같은 제공자에 여러 키가 있을 때 선택하는 방식입니다. 자동은 현재 순환을 유지합니다. 잔여량 기준은 관측된 할당량으로 키를 정렬하고 남은 양이 가장 많은 키를 먼저 시도합니다.","peakActive": "(피크 시간대)","peakActiveHint": "피크 시간대 조정이 현재 적용 중이므로 이 값은 프리셋 자체의 가중치가 아닙니다. 속도 가중치의 60%가 신뢰성으로 옮겨졌습니다.","peakAdjust": "피크 시간대 조정",diff --git a/client/src/i18n/locales/lt.json b/client/src/i18n/locales/lt.jsonindex 62edb224..9c4fe5b7 100644--- a/client/src/i18n/locales/lt.json+++ b/client/src/i18n/locales/lt.json@@ -279,6 +279,10 @@"strategies": {"explore": "Tyrinėti neišmatuotus modelius","exploreHint": "Modeliams be patikimumo/greičio duomenų suteikiama 10 % tikimybė būti išbandytiems, kad jie sukauptų imtis.",+ "keySelection": "Rakto parinkimas",+ "keySelectionAuto": "Automatinis",+ "keySelectionLeastRemaining": "Mažiausiai likę",+ "keySelectionHint": "Kaip renkamasi tarp kelių to paties tiekėjo raktų. Automatinis išlaiko dabartinę rotaciją; Mažiausiai likę surikiuoja raktus pagal stebimą kvotą ir pirmiausia išbando tą, kuriam likę daugiausia.","peakActive": "(piko valandos)","peakActiveHint": "Piko valandų korekcija dabar veikia, todėl tai nėra paties nustatymo svoriai: 60 % greičio svorio perkelta patikimumui.","peakAdjust": "Piko valandų korekcija",diff --git a/client/src/i18n/locales/ml.json b/client/src/i18n/locales/ml.jsonindex f8622dd9..0962e643 100644--- a/client/src/i18n/locales/ml.json+++ b/client/src/i18n/locales/ml.json@@ -279,6 +279,10 @@"strategies": {"explore": "അളക്കാത്ത മോഡലുകൾ പര്യവേക്ഷണം ചെയ്യുക","exploreHint": "വിശ്വാസ്യത/വേഗത ഡാറ്റ ഇല്ലാത്ത മോഡലുകൾക്ക് സാമ്പിളുകൾ ശേഖരിക്കാൻ 10% പരീക്ഷണ അവസരം നൽകുക.",+ "keySelection": "കീ തിരഞ്ഞെടുപ്പ്",+ "keySelectionAuto": "സ്വയം",+ "keySelectionLeastRemaining": "ഏറ്റവും കുറവ് ബാക്കി",+ "keySelectionHint": "ഒരേ ദാതാവിന്റെ പല കീകൾക്കിടയിൽ എങ്ങനെ തിരഞ്ഞെടുക്കണം. സ്വയം നിലവിലെ ക്രമം നിലനിർത്തുന്നു; ഏറ്റവും കുറവ് ബാക്കി നിരീക്ഷിച്ച ക്വോട്ട അനുസരിച്ച് കീകൾ അടുക്കി, ഏറ്റവും കൂടുതൽ ബാക്കിയുള്ള കീ ആദ്യം പരീക്ഷിക്കുന്നു.","peakActive": "(തിരക്കുള്ള സമയം)","peakActiveHint": "തിരക്കുസമയ ക്രമീകരണം ഇപ്പോൾ സജീവമാണ്, അതിനാൽ ഇവ പ്രീസെറ്റിന്റെ സ്വന്തം തൂക്കങ്ങളല്ല: വേഗതയുടെ തൂക്കത്തിന്റെ 60% വിശ്വാസ്യതയിലേക്ക് മാറ്റിയിരിക്കുന്നു.","peakAdjust": "തിരക്കുസമയ ക്രമീകരണം",diff --git a/client/src/i18n/locales/mr.json b/client/src/i18n/locales/mr.jsonindex 11164582..79422257 100644--- a/client/src/i18n/locales/mr.json+++ b/client/src/i18n/locales/mr.json@@ -279,6 +279,10 @@"strategies": {"explore": "न मोजलेले मॉडेल्स एक्सप्लोर करा","exploreHint": "विश्वसनीयता/गती डेटा नसलेल्या मॉडेल्सना नमुने जमवण्यासाठी 10% चाचणीची संधी द्या.",+ "keySelection": "की निवड",+ "keySelectionAuto": "स्वयंचलित",+ "keySelectionLeastRemaining": "सर्वात कमी शिल्लक",+ "keySelectionHint": "एकाच पुरवठादाराच्या अनेक कींपैकी कशी निवड करावी. स्वयंचलित सध्याचे रोटेशन कायम ठेवते; सर्वात कमी शिल्लक निरीक्षण केलेल्या कोट्यानुसार की क्रमवारीत लावते आणि सर्वाधिक शिल्लक असलेली की आधी वापरून पाहते.","peakActive": "(गर्दीचा वेळ)","peakActiveHint": "गर्दीच्या वेळेचे समायोजन सध्या सुरू आहे, त्यामुळे ही प्रीसेटची स्वतःची वजने नाहीत: वेगाच्या वजनाचे ६०% विश्वासार्हतेकडे हलवले आहे.","peakAdjust": "गर्दीच्या वेळेचे समायोजन",diff --git a/client/src/i18n/locales/ms.json b/client/src/i18n/locales/ms.jsonindex ac0e755d..a4465697 100644--- a/client/src/i18n/locales/ms.json+++ b/client/src/i18n/locales/ms.json@@ -279,6 +279,10 @@"strategies": {"explore": "Teroka model yang belum diukur","exploreHint": "Beri model tanpa data kebolehpercayaan/kelajuan peluang 10% untuk dicuba supaya sampel terkumpul.",+ "keySelection": "Pemilihan kunci",+ "keySelectionAuto": "Auto",+ "keySelectionLeastRemaining": "Paling sedikit baki",+ "keySelectionHint": "Cara memilih antara beberapa kunci pembekal yang sama. Auto mengekalkan giliran semasa; Paling sedikit baki menyusun kunci mengikut kuota yang diperhatikan dan mencuba yang paling banyak baki dahulu.","peakActive": "(waktu puncak)","peakActiveHint": "Pelarasan waktu puncak sedang aktif, jadi ini bukan pemberat praset itu sendiri: 60% pemberat kelajuan telah dipindahkan ke kebolehpercayaan.","peakAdjust": "Pelarasan waktu puncak",diff --git a/client/src/i18n/locales/my.json b/client/src/i18n/locales/my.jsonindex b3d47950..00ef3319 100644--- a/client/src/i18n/locales/my.json+++ b/client/src/i18n/locales/my.json@@ -279,6 +279,10 @@"strategies": {"explore": "မတိုင်းတာရသေးသော မော်ဒယ်များကို စူးစမ်းရန်","exploreHint": "ယုံကြည်စိတ်ချမှု/အမြန်နှုန်း ဒေတာမရှိသော မော်ဒယ်များကို နမူနာစုဆောင်းနိုင်ရန် 10% စမ်းသပ်ခွင့် ပေးသည်။",+ "keySelection": "သော့ရွေးချယ်မှု",+ "keySelectionAuto": "အလိုအလျောက်",+ "keySelectionLeastRemaining": "ကျန်အနည်းဆုံး",+ "keySelectionHint": "တူညီသောဝန်ဆောင်မှုပေးသူ၏ သော့များစွာအနက် မည်သို့ရွေးမည်ကို သတ်မှတ်သည်။ အလိုအလျောက်သည် လက်ရှိလှည့်ပတ်မှုကို ဆက်ထိန်းသည်။ ကျန်အနည်းဆုံးသည် တွေ့ရှိထားသော ကုန်ကျခွင့်အလိုက် သော့များကို စီပြီး ကျန်အများဆုံးသော့ကို ဦးစွာစမ်းသည်။","peakActive": "(အလုပ်များချိန်)","peakActiveHint": "အလုပ်များချိန် ချိန်ညှိမှုသည် ယခု အသက်ဝင်နေသဖြင့် ဤအလေးချိန်များသည် ကြိုတင်သတ်မှတ်ချက်၏ ကိုယ်ပိုင်အလေးချိန်များ မဟုတ်ပါ— အမြန်နှုန်းအလေးချိန်၏ 60% ကို ယုံကြည်စိတ်ချရမှုသို့ ရွှေ့ထားသည်။","peakAdjust": "အလုပ်များချိန် ချိန်ညှိမှု",diff --git a/client/src/i18n/locales/ne.json b/client/src/i18n/locales/ne.jsonindex 7f8e0f11..1fcf26de 100644--- a/client/src/i18n/locales/ne.json+++ b/client/src/i18n/locales/ne.json@@ -279,6 +279,10 @@"strategies": {"explore": "नमापिएका मोडेलहरू अन्वेषण गर्नुहोस्","exploreHint": "विश्वसनीयता/गति डेटा नभएका मोडेलहरूलाई नमूना जम्मा गर्न 10% प्रयासको मौका दिनुहोस्।",+ "keySelection": "कुञ्जी चयन",+ "keySelectionAuto": "स्वतः",+ "keySelectionLeastRemaining": "सबैभन्दा कम बाँकी",+ "keySelectionHint": "एउटै प्रदायकका धेरै कुञ्जीमध्ये कसरी छान्ने। स्वतःले हालको पालो कायम राख्छ; सबैभन्दा कम बाँकीले अवलोकन गरिएको कोटा अनुसार कुञ्जीहरू क्रमबद्ध गर्छ र सबैभन्दा बढी बाँकी भएको कुञ्जी पहिले प्रयास गर्छ।","peakActive": "(व्यस्त समय)","peakActiveHint": "व्यस्त-समय समायोजन अहिले सक्रिय छ, त्यसैले यी प्रिसेटका आफ्नै तौल होइनन्: गतिको तौलको ६०% विश्वसनीयतामा सारिएको छ।","peakAdjust": "व्यस्त-समय समायोजन",diff --git a/client/src/i18n/locales/nl.json b/client/src/i18n/locales/nl.jsonindex e7a3bee8..199f86a3 100644--- a/client/src/i18n/locales/nl.json+++ b/client/src/i18n/locales/nl.json@@ -279,6 +279,10 @@"strategies": {"explore": "Ongemeten modellen verkennen","exploreHint": "Geeft modellen zonder betrouwbaarheids-/snelheidsgegevens 10% kans om geprobeerd te worden zodat ze steekproeven opbouwen.",+ "keySelection": "Sleutelkeuze",+ "keySelectionAuto": "Automatisch",+ "keySelectionLeastRemaining": "Minste resterend",+ "keySelectionHint": "Hoe er wordt gekozen tussen meerdere sleutels van dezelfde provider. Automatisch houdt de huidige rotatie aan; Minste resterend rangschikt sleutels op het waargenomen quotum en probeert eerst die met het meeste over.","peakActive": "(piekuren)","peakActiveHint": "De piekuren-aanpassing is nu actief, dus dit zijn niet de gewichten van de preset zelf: 60% van het snelheidsgewicht is verschoven naar betrouwbaarheid.","peakAdjust": "Piekuren-aanpassing",diff --git a/client/src/i18n/locales/no.json b/client/src/i18n/locales/no.jsonindex 9a3115b7..d71e3819 100644--- a/client/src/i18n/locales/no.json+++ b/client/src/i18n/locales/no.json@@ -279,6 +279,10 @@"strategies": {"explore": "Utforsk umålte modeller","exploreHint": "Gir modeller uten pålitelighets-/hastighetsdata 10 % sjanse til å bli prøvd slik at de bygger opp stikkprøver.",+ "keySelection": "Nøkkelvalg",+ "keySelectionAuto": "Automatisk",+ "keySelectionLeastRemaining": "Minst igjen",+ "keySelectionHint": "Hvordan det velges mellom flere nøkler hos samme leverandør. Automatisk beholder gjeldende rotasjon; Minst igjen rangerer nøklene etter observert kvote og prøver først den som har mest igjen.","peakActive": "(rushtid)","peakActiveHint": "Justeringen for rushtid er aktiv akkurat nå, så dette er ikke forhåndsinnstillingens egne vekter: 60 % av hastighetsvekten er flyttet til pålitelighet.","peakAdjust": "Justering for rushtid",diff --git a/client/src/i18n/locales/or.json b/client/src/i18n/locales/or.jsonindex f0605684..a381ca12 100644--- a/client/src/i18n/locales/or.json+++ b/client/src/i18n/locales/or.json@@ -279,6 +279,10 @@"strategies": {"explore": "ମପାଯାଇନଥିବା ମଡେଲଗୁଡ଼ିକୁ ଅନୁସନ୍ଧାନ କରନ୍ତୁ","exploreHint": "ବିଶ୍ୱସନୀୟତା/ବେଗ ତଥ୍ୟ ନଥିବା ମଡେଲଗୁଡ଼ିକୁ ନମୁନା ସଂଗ୍ରହ ପାଇଁ 10% ଚେଷ୍ଟା କରିବାର ସୁଯୋଗ ଦିଅନ୍ତୁ।",+ "keySelection": "କୀ ଚୟନ",+ "keySelectionAuto": "ସ୍ୱୟଂଚାଳିତ",+ "keySelectionLeastRemaining": "ସର୍ବନିମ୍ନ ଅବଶିଷ୍ଟ",+ "keySelectionHint": "ଏକା ପ୍ରଦାତାର ଏକାଧିକ କୀ ମଧ୍ୟରୁ କିପରି ବାଛିବେ। ସ୍ୱୟଂଚାଳିତ ବର୍ତ୍ତମାନର ଆବର୍ତ୍ତନ ବଜାୟ ରଖେ; ସର୍ବନିମ୍ନ ଅବଶିଷ୍ଟ ପର୍ଯ୍ୟବେକ୍ଷିତ କୋଟା ଅନୁସାରେ କୀଗୁଡ଼ିକୁ ସଜାଏ ଏବଂ ସର୍ବାଧିକ ଅବଶିଷ୍ଟ ଥିବା କୀକୁ ପ୍ରଥମେ ଚେଷ୍ଟା କରେ।","peakActive": "(ବ୍ୟସ୍ତ ସମୟ)","peakActiveHint": "ବ୍ୟସ୍ତ-ସମୟ ସମନ୍ୱୟ ବର୍ତ୍ତମାନ ସକ୍ରିୟ, ତେଣୁ ଏଗୁଡ଼ିକ ପ୍ରିସେଟର ନିଜସ୍ୱ ଓଜନ ନୁହେଁ: ବେଗ ଓଜନର 60% ବିଶ୍ୱସନୀୟତାକୁ ସ୍ଥାନାନ୍ତରିତ ହୋଇଛି।","peakAdjust": "ବ୍ୟସ୍ତ-ସମୟ ସମନ୍ୱୟ",diff --git a/client/src/i18n/locales/pa.json b/client/src/i18n/locales/pa.jsonindex 3136d825..fcd50cec 100644--- a/client/src/i18n/locales/pa.json+++ b/client/src/i18n/locales/pa.json@@ -279,6 +279,10 @@"strategies": {"explore": "ਬਿਨਾਂ ਮਾਪੇ ਮਾਡਲਾਂ ਦੀ ਖੋਜ ਕਰੋ","exploreHint": "ਭਰੋਸੇਯੋਗਤਾ/ਸਪੀਡ ਡੇਟਾ ਤੋਂ ਬਿਨਾਂ ਮਾਡਲਾਂ ਨੂੰ ਨਮੂਨੇ ਇਕੱਠੇ ਕਰਨ ਲਈ 10% ਅਜ਼ਮਾਉਣ ਦਾ ਮੌਕਾ ਦਿਓ।",+ "keySelection": "ਕੁੰਜੀ ਚੋਣ",+ "keySelectionAuto": "ਆਪਣੇ-ਆਪ",+ "keySelectionLeastRemaining": "ਸਭ ਤੋਂ ਘੱਟ ਬਾਕੀ",+ "keySelectionHint": "ਇੱਕੋ ਪ੍ਰਦਾਤਾ ਦੀਆਂ ਕਈ ਕੁੰਜੀਆਂ ਵਿੱਚੋਂ ਕਿਵੇਂ ਚੁਣਨਾ ਹੈ। ਆਪਣੇ-ਆਪ ਮੌਜੂਦਾ ਵਾਰੀ ਬਰਕਰਾਰ ਰੱਖਦਾ ਹੈ; ਸਭ ਤੋਂ ਘੱਟ ਬਾਕੀ ਵੇਖੇ ਗਏ ਕੋਟੇ ਅਨੁਸਾਰ ਕੁੰਜੀਆਂ ਨੂੰ ਕ੍ਰਮਬੱਧ ਕਰਦਾ ਹੈ ਅਤੇ ਸਭ ਤੋਂ ਵੱਧ ਬਚੀ ਕੁੰਜੀ ਪਹਿਲਾਂ ਅਜ਼ਮਾਉਂਦਾ ਹੈ।","peakActive": "(ਰੁਝੇਵੇਂ ਦਾ ਸਮਾਂ)","peakActiveHint": "ਰੁਝੇਵੇਂ-ਸਮੇਂ ਦੀ ਸੋਧ ਹੁਣ ਚਾਲੂ ਹੈ, ਇਸ ਲਈ ਇਹ ਪ੍ਰੀਸੈੱਟ ਦੇ ਆਪਣੇ ਭਾਰ ਨਹੀਂ ਹਨ: ਰਫ਼ਤਾਰ ਦੇ ਭਾਰ ਦਾ 60% ਭਰੋਸੇਯੋਗਤਾ ਵੱਲ ਚਲਾ ਗਿਆ ਹੈ।","peakAdjust": "ਰੁਝੇਵੇਂ-ਸਮੇਂ ਦੀ ਸੋਧ",diff --git a/client/src/i18n/locales/pl.json b/client/src/i18n/locales/pl.jsonindex 462f1384..83c389da 100644--- a/client/src/i18n/locales/pl.json+++ b/client/src/i18n/locales/pl.json@@ -279,6 +279,10 @@"strategies": {"explore": "Eksploruj niezmierzone modele","exploreHint": "Daje modelom bez danych o niezawodności/prędkości 10% szansy na wypróbowanie, aby zebrały próbki.",+ "keySelection": "Wybór klucza",+ "keySelectionAuto": "Automatycznie",+ "keySelectionLeastRemaining": "Najmniej pozostało",+ "keySelectionHint": "Jak wybierać spośród kilku kluczy tego samego dostawcy. Automatycznie zachowuje bieżącą rotację; Najmniej pozostało porządkuje klucze według zaobserwowanego limitu i najpierw próbuje ten, któremu zostało najwięcej.","peakActive": "(godziny szczytu)","peakActiveHint": "Korekta na godziny szczytu jest teraz aktywna, więc to nie są wagi samego presetu: 60% wagi szybkości przeniesiono na niezawodność.","peakAdjust": "Korekta na godziny szczytu",diff --git a/client/src/i18n/locales/pt-BR.json b/client/src/i18n/locales/pt-BR.jsonindex a7b8d5a8..8ea6e845 100644--- a/client/src/i18n/locales/pt-BR.json+++ b/client/src/i18n/locales/pt-BR.json@@ -279,6 +279,10 @@"strategies": {"explore": "Explorar modelos sem medições","exploreHint": "Dá aos modelos sem dados de confiabilidade/velocidade 10% de chance de serem testados para que acumulem amostras.",+ "keySelection": "Seleção de chave",+ "keySelectionAuto": "Automática",+ "keySelectionLeastRemaining": "Menor restante",+ "keySelectionHint": "Como escolher entre várias chaves do mesmo provedor. Automática mantém o rodízio atual; Menor restante ordena as chaves pela cota observada e tenta primeiro a que tem mais sobrando.","peakActive": "(horário de pico)","peakActiveHint": "O ajuste de horário de pico está ativo agora, então estes não são os pesos do próprio preset: 60% do peso de velocidade foi transferido para confiabilidade.","peakAdjust": "Ajuste de horário de pico",diff --git a/client/src/i18n/locales/pt-PT.json b/client/src/i18n/locales/pt-PT.jsonindex 2abc792c..de459883 100644--- a/client/src/i18n/locales/pt-PT.json+++ b/client/src/i18n/locales/pt-PT.json@@ -279,6 +279,10 @@"strategies": {"explore": "Explorar modelos sem medições","exploreHint": "Dá aos modelos sem dados de fiabilidade/velocidade 10% de probabilidade de serem experimentados para que acumulem amostras.",+ "keySelection": "Seleção de chave",+ "keySelectionAuto": "Automática",+ "keySelectionLeastRemaining": "Menor restante",+ "keySelectionHint": "Como escolher entre várias chaves do mesmo fornecedor. Automática mantém a rotação atual; Menor restante ordena as chaves pela quota observada e tenta primeiro a que tem mais disponível.","peakActive": "(horas de ponta)","peakActiveHint": "O ajuste de horas de ponta está ativo neste momento, por isso estes não são os pesos do próprio preset: 60% do peso da velocidade passou para a fiabilidade.","peakAdjust": "Ajuste de horas de ponta",diff --git a/client/src/i18n/locales/ro.json b/client/src/i18n/locales/ro.jsonindex b68af596..491fe8e0 100644--- a/client/src/i18n/locales/ro.json+++ b/client/src/i18n/locales/ro.json@@ -279,6 +279,10 @@"strategies": {"explore": "Explorează modelele nemăsurate","exploreHint": "Oferă modelelor fără date de fiabilitate/viteză o șansă de 10% de a fi încercate, ca să acumuleze eșantioane.",+ "keySelection": "Selectarea cheii",+ "keySelectionAuto": "Automat",+ "keySelectionLeastRemaining": "Cel mai puțin rămas",+ "keySelectionHint": "Cum se alege între mai multe chei ale aceluiași furnizor. Automat păstrează rotația actuală; Cel mai puțin rămas ordonează cheile după cota observată și o încearcă prima pe cea cu cel mai mult rămas.","peakActive": "(ore de vârf)","peakActiveHint": "Ajustarea pentru orele de vârf este activă acum, deci acestea nu sunt ponderile presetării în sine: 60% din ponderea vitezei a trecut la fiabilitate.","peakAdjust": "Ajustare pentru orele de vârf",diff --git a/client/src/i18n/locales/ru.json b/client/src/i18n/locales/ru.jsonindex 0b0d81c8..111d736e 100644--- a/client/src/i18n/locales/ru.json+++ b/client/src/i18n/locales/ru.json@@ -279,6 +279,10 @@"strategies": {"explore": "Исследовать неизмеренные модели","exploreHint": "Дает моделям без данных о надежности/скорости 10% шанс быть опробованными, чтобы они накапливали выборку.",+ "keySelection": "Выбор ключа",+ "keySelectionAuto": "Авто",+ "keySelectionLeastRemaining": "По остатку квоты",+ "keySelectionHint": "Как выбирать между несколькими ключами одного провайдера. «Авто» сохраняет текущую ротацию; «По остатку квоты» сортирует ключи по наблюдаемой квоте и первым пробует тот, у которого осталось больше всего.","peakActive": "(часы пик)","peakActiveHint": "Корректировка для часов пик сейчас активна, поэтому это не собственные веса пресета: 60 % веса скорости перенесено на надёжность.","peakAdjust": "Корректировка для часов пик",diff --git a/client/src/i18n/locales/si.json b/client/src/i18n/locales/si.jsonindex f7c6a144..9ce6354a 100644--- a/client/src/i18n/locales/si.json+++ b/client/src/i18n/locales/si.json@@ -279,6 +279,10 @@"strategies": {"explore": "නොමැනූ ආකෘති ගවේෂණය කරන්න","exploreHint": "විශ්වසනීයත්වය/වේගය දත්ත නොමැති ආකෘතිවලට නියැදි එකතු කර ගැනීමට 10% උත්සාහ අවස්ථාවක් දෙන්න.",+ "keySelection": "යතුරු තේරීම",+ "keySelectionAuto": "ස්වයංක්රීය",+ "keySelectionLeastRemaining": "අවම ඉතිරි",+ "keySelectionHint": "එකම සැපයුම්කරුගේ යතුරු කිහිපයක් අතරින් තෝරන ආකාරය. ස්වයංක්රීය වත්මන් කරකැවීම තබා ගනී; අවම ඉතිරි නිරීක්ෂිත කෝටාව අනුව යතුරු පෙළගස්වා වැඩිම ඉතිරි ඇති යතුර මුලින්ම උත්සාහ කරයි.","peakActive": "(කාර්යබහුල වේලාව)","peakActiveHint": "කාර්යබහුල වේලා සීරුමාරුව දැන් සක්රියයි, එබැවින් මේවා පෙරසැකසුමේම බර නොවේ: වේගයේ බරින් 60%ක් විශ්වසනීයත්වයට මාරු වී ඇත.","peakAdjust": "කාර්යබහුල වේලා සීරුමාරුව",diff --git a/client/src/i18n/locales/sk.json b/client/src/i18n/locales/sk.jsonindex b7a25bdb..a4ec6c3a 100644--- a/client/src/i18n/locales/sk.json+++ b/client/src/i18n/locales/sk.json@@ -279,6 +279,10 @@"strategies": {"explore": "Preskúmavať nezmerané modely","exploreHint": "Dáva modelom bez údajov o spoľahlivosti/rýchlosti 10 % šancu na vyskúšanie, aby nazbierali vzorky.",+ "keySelection": "Výber kľúča",+ "keySelectionAuto": "Automaticky",+ "keySelectionLeastRemaining": "Najmenej zostáva",+ "keySelectionHint": "Ako sa vyberá spomedzi viacerých kľúčov toho istého poskytovateľa. Automaticky zachová súčasné striedanie; Najmenej zostáva zoradí kľúče podľa zistenej kvóty a najskôr skúsi ten, ktorému zostáva najviac.","peakActive": "(špička)","peakActiveHint": "Úprava pre špičku je práve aktívna, takže toto nie sú váhy samotnej predvoľby: 60 % váhy rýchlosti sa presunulo na spoľahlivosť.","peakAdjust": "Úprava pre špičku",diff --git a/client/src/i18n/locales/sr.json b/client/src/i18n/locales/sr.jsonindex 57e66fc9..358fa9ee 100644--- a/client/src/i18n/locales/sr.json+++ b/client/src/i18n/locales/sr.json@@ -279,6 +279,10 @@"strategies": {"explore": "Истражи неизмерене моделе","exploreHint": "Моделима без података о поузданости/брзини даје 10% шансе да буду испробани како би прикупили узорке.",+ "keySelection": "Избор кључа",+ "keySelectionAuto": "Аутоматски",+ "keySelectionLeastRemaining": "Најмање преостало",+ "keySelectionHint": "Како се бира између више кључева истог провајдера. Аутоматски задржава тренутну ротацију; Најмање преостало рангира кључеве према уоченој квоти и прво пробава онај коме је највише преостало.","peakActive": "(вршни сати)","peakActiveHint": "Прилагођавање за вршне сате тренутно је активно, па ово нису тежине саме поставке: 60% тежине брзине пребачено је на поузданост.","peakAdjust": "Прилагођавање за вршне сате",diff --git a/client/src/i18n/locales/sv.json b/client/src/i18n/locales/sv.jsonindex af9b3748..57348f9b 100644--- a/client/src/i18n/locales/sv.json+++ b/client/src/i18n/locales/sv.json@@ -279,6 +279,10 @@"strategies": {"explore": "Utforska omätta modeller","exploreHint": "Ger modeller utan tillförlitlighets-/hastighetsdata 10 % chans att provas så att de bygger upp stickprov.",+ "keySelection": "Nyckelval",+ "keySelectionAuto": "Automatiskt",+ "keySelectionLeastRemaining": "Minst kvar",+ "keySelectionHint": "Hur systemet väljer mellan flera nycklar hos samma leverantör. Automatiskt behåller nuvarande rotation; Minst kvar rangordnar nycklarna efter observerad kvot och provar först den som har mest kvar.","peakActive": "(rusningstid)","peakActiveHint": "Justeringen för rusningstid är aktiv just nu, så det här är inte förinställningens egna vikter: 60 % av hastighetsvikten har flyttats till tillförlitlighet.","peakAdjust": "Justering för rusningstid",diff --git a/client/src/i18n/locales/sw.json b/client/src/i18n/locales/sw.jsonindex d640ccae..7fdaba59 100644--- a/client/src/i18n/locales/sw.json+++ b/client/src/i18n/locales/sw.json@@ -279,6 +279,10 @@"strategies": {"explore": "Chunguza mifano isiyopimwa","exploreHint": "Ipe mifano isiyo na data ya kuegemea/kasi nafasi ya 10% ya kujaribiwa ili ikusanye sampuli.",+ "keySelection": "Uteuzi wa ufunguo",+ "keySelectionAuto": "Otomatiki",+ "keySelectionLeastRemaining": "Iliyobaki kidogo zaidi",+ "keySelectionHint": "Jinsi ya kuchagua kati ya funguo kadhaa za mtoa huduma mmoja. Otomatiki huhifadhi mzunguko wa sasa; Iliyobaki kidogo zaidi hupanga funguo kwa kiasi kilichoonekana na hujaribu kwanza ile yenye kiasi kikubwa zaidi kilichobaki.","peakActive": "(saa za msongamano)","peakActiveHint": "Marekebisho ya saa za msongamano yanatumika sasa hivi, hivyo hizi si uzito wa kiolezo chenyewe: asilimia 60 ya uzito wa kasi umehamishiwa kwenye uaminifu.","peakAdjust": "Marekebisho ya saa za msongamano",diff --git a/client/src/i18n/locales/ta.json b/client/src/i18n/locales/ta.jsonindex e6daed2f..942f0b99 100644--- a/client/src/i18n/locales/ta.json+++ b/client/src/i18n/locales/ta.json@@ -279,6 +279,10 @@"strategies": {"explore": "அளவிடப்படாத மாதிரிகளை ஆராயுங்கள்","exploreHint": "நம்பகத்தன்மை/வேகத் தரவு இல்லாத மாதிரிகளுக்கு, சாம்பிள்களைச் சேகரிக்க 10% முயற்சி வாய்ப்பு வழங்கவும்.",+ "keySelection": "விசை தேர்வு",+ "keySelectionAuto": "தானியங்கி",+ "keySelectionLeastRemaining": "மிகக் குறைவாக மீதமுள்ளது",+ "keySelectionHint": "ஒரே வழங்குநரின் பல விசைகளுக்கு இடையே எப்படித் தேர்ந்தெடுப்பது. தானியங்கி தற்போதைய சுழற்சியைத் தக்கவைக்கிறது; மிகக் குறைவாக மீதமுள்ளது கவனிக்கப்பட்ட ஒதுக்கீட்டின்படி விசைகளை வரிசைப்படுத்தி, அதிகம் மீதமுள்ள விசையை முதலில் முயற்சிக்கிறது.","peakActive": "(உச்ச நேரம்)","peakActiveHint": "உச்ச நேரச் சரிசெய்தல் தற்போது செயலில் உள்ளது, எனவே இவை முன்னமைவின் சொந்த எடைகள் அல்ல: வேக எடையின் 60% நம்பகத்தன்மைக்கு நகர்த்தப்பட்டுள்ளது.","peakAdjust": "உச்ச நேரச் சரிசெய்தல்",diff --git a/client/src/i18n/locales/te.json b/client/src/i18n/locales/te.jsonindex 06dec7b8..3bbcf40a 100644--- a/client/src/i18n/locales/te.json+++ b/client/src/i18n/locales/te.json@@ -279,6 +279,10 @@"strategies": {"explore": "కొలవని మోడల్స్ను అన్వేషించండి","exploreHint": "విశ్వసనీయత/వేగం డేటా లేని మోడల్స్కు నమూనాలు సేకరించడానికి 10% ప్రయత్న అవకాశం ఇవ్వండి.",+ "keySelection": "కీ ఎంపిక",+ "keySelectionAuto": "ఆటో",+ "keySelectionLeastRemaining": "అత్యల్పంగా మిగిలినది",+ "keySelectionHint": "ఒకే ప్రొవైడర్కు ఉన్న అనేక కీల మధ్య ఎలా ఎంచుకోవాలి. ఆటో ప్రస్తుత రొటేషన్ను కొనసాగిస్తుంది; అత్యల్పంగా మిగిలినది గమనించిన కోటా ప్రకారం కీలను క్రమబద్ధీకరించి, ఎక్కువ మిగిలిన కీని ముందుగా ప్రయత్నిస్తుంది.","peakActive": "(రద్దీ సమయం)","peakActiveHint": "రద్దీ-సమయ సర్దుబాటు ప్రస్తుతం చురుకుగా ఉంది, కాబట్టి ఇవి ప్రీసెట్ సొంత బరువులు కాదు: వేగ బరువులో 60% విశ్వసనీయతకు మారింది.","peakAdjust": "రద్దీ-సమయ సర్దుబాటు",diff --git a/client/src/i18n/locales/th.json b/client/src/i18n/locales/th.jsonindex 038201de..3be771b7 100644--- a/client/src/i18n/locales/th.json+++ b/client/src/i18n/locales/th.json@@ -279,6 +279,10 @@"strategies": {"explore": "สำรวจโมเดลที่ยังไม่ได้วัดผล","exploreHint": "ให้โมเดลที่ไม่มีข้อมูลความน่าเชื่อถือ/ความเร็วมีโอกาส 10% ที่จะถูกลองใช้เพื่อสะสมตัวอย่าง",+ "keySelection": "การเลือกคีย์",+ "keySelectionAuto": "อัตโนมัติ",+ "keySelectionLeastRemaining": "เหลือน้อยที่สุด",+ "keySelectionHint": "วิธีเลือกระหว่างคีย์หลายอันของผู้ให้บริการเดียวกัน อัตโนมัติจะคงการหมุนเวียนเดิมไว้ ส่วนเหลือน้อยที่สุดจะจัดอันดับคีย์ตามโควตาที่สังเกตได้ และลองคีย์ที่เหลือมากที่สุดก่อน","peakActive": "(ช่วงเวลาเร่งด่วน)","peakActiveHint": "การปรับช่วงเวลาเร่งด่วนกำลังทำงานอยู่ ค่าน้ำหนักเหล่านี้จึงไม่ใช่ของพรีเซ็ตเอง: 60% ของน้ำหนักความเร็วถูกย้ายไปที่ความน่าเชื่อถือ","peakAdjust": "การปรับช่วงเวลาเร่งด่วน",diff --git a/client/src/i18n/locales/tl.json b/client/src/i18n/locales/tl.jsonindex 795f1abc..96515794 100644--- a/client/src/i18n/locales/tl.json+++ b/client/src/i18n/locales/tl.json@@ -279,6 +279,10 @@"strategies": {"explore": "I-explore ang mga hindi pa nasusukat na modelo","exploreHint": "Bigyan ang mga modelong walang data ng pagiging maaasahan/bilis ng 10% na tsansang masubukan para makaipon ng mga sample.",+ "keySelection": "Pagpili ng key",+ "keySelectionAuto": "Awto",+ "keySelectionLeastRemaining": "Pinakakaunti ang natitira",+ "keySelectionHint": "Kung paano pumili sa ilang key ng iisang provider. Pinapanatili ng Awto ang kasalukuyang rotasyon; ini-ranggo ng Pinakakaunti ang natitira ang mga key ayon sa naobserbahang quota at sinusubukan muna ang may pinakamaraming natitira.","peakActive": "(oras ng rurok)","peakActiveHint": "Aktibo ngayon ang pag-aayos para sa oras ng rurok, kaya hindi ito ang mismong timbang ng preset: 60% ng timbang ng bilis ay inilipat sa pagiging maaasahan.","peakAdjust": "Pag-aayos sa oras ng rurok",diff --git a/client/src/i18n/locales/tr.json b/client/src/i18n/locales/tr.jsonindex e549bcc9..a55c7450 100644--- a/client/src/i18n/locales/tr.json+++ b/client/src/i18n/locales/tr.json@@ -279,6 +279,10 @@"strategies": {"explore": "Ölçülmemiş modelleri keşfet","exploreHint": "Güvenilirlik/hız verisi olmayan modellere örnek toplayabilmeleri için %10 denenme şansı verir.",+ "keySelection": "Anahtar seçimi",+ "keySelectionAuto": "Otomatik",+ "keySelectionLeastRemaining": "En az kalan",+ "keySelectionHint": "Aynı sağlayıcıdaki birden çok anahtar arasında nasıl seçim yapılacağı. Otomatik mevcut sırayı korur; En az kalan, anahtarları gözlenen kotaya göre sıralar ve en çok kotası kalanı önce dener.","peakActive": "(yoğun saatler)","peakActiveHint": "Yoğun saat ayarı şu anda etkin, dolayısıyla bunlar hazır ayarın kendi ağırlıkları değil: hız ağırlığının %60'ı güvenilirliğe aktarıldı.","peakAdjust": "Yoğun saat ayarı",diff --git a/client/src/i18n/locales/uk.json b/client/src/i18n/locales/uk.jsonindex 1581e560..7d84dc6c 100644--- a/client/src/i18n/locales/uk.json+++ b/client/src/i18n/locales/uk.json@@ -279,6 +279,10 @@"strategies": {"explore": "Досліджувати невиміряні моделі","exploreHint": "Дає моделям без даних про надійність/швидкість 10% шанс бути випробуваними, щоб вони накопичували вибірку.",+ "keySelection": "Вибір ключа",+ "keySelectionAuto": "Авто",+ "keySelectionLeastRemaining": "За залишком квоти",+ "keySelectionHint": "Як обирати між кількома ключами того самого провайдера. «Авто» зберігає поточну ротацію; «За залишком квоти» впорядковує ключі за спостереженою квотою і першим пробує той, у якого залишилося найбільше.","peakActive": "(години пік)","peakActiveHint": "Коригування для годин пік зараз активне, тож це не власні ваги пресету: 60 % ваги швидкості перенесено на надійність.","peakAdjust": "Коригування для годин пік",diff --git a/client/src/i18n/locales/ur.json b/client/src/i18n/locales/ur.jsonindex 80aa9841..0ad37727 100644--- a/client/src/i18n/locales/ur.json+++ b/client/src/i18n/locales/ur.json@@ -279,6 +279,10 @@"strategies": {"explore": "غیر پیمائش شدہ ماڈلز دریافت کریں","exploreHint": "جن ماڈلز کے پاس اعتماد/رفتار کا ڈیٹا نہیں انہیں نمونے جمع کرنے کے لیے 10% آزمائے جانے کا موقع دیں۔",+ "keySelection": "کلید کا انتخاب",+ "keySelectionAuto": "خودکار",+ "keySelectionLeastRemaining": "کم ترین باقی",+ "keySelectionHint": "ایک ہی فراہم کنندہ کی متعدد کلیدوں میں سے انتخاب کا طریقہ۔ خودکار موجودہ گردش برقرار رکھتا ہے؛ کم ترین باقی کلیدوں کو مشاہدہ شدہ کوٹے کے مطابق ترتیب دیتا ہے اور سب سے زیادہ باقی والی کلید پہلے آزماتا ہے۔","peakActive": "(مصروف اوقات)","peakActiveHint": "مصروف اوقات کی ایڈجسٹمنٹ ابھی فعال ہے، اس لیے یہ پری سیٹ کے اپنے وزن نہیں ہیں: رفتار کے وزن کا 60% اعتماد پر منتقل ہو چکا ہے۔","peakAdjust": "مصروف اوقات کی ایڈجسٹمنٹ",diff --git a/client/src/i18n/locales/uz.json b/client/src/i18n/locales/uz.jsonindex f9078a26..5216de71 100644--- a/client/src/i18n/locales/uz.json+++ b/client/src/i18n/locales/uz.json@@ -279,6 +279,10 @@"strategies": {"explore": "O'lchanmagan modellarni o'rganish","exploreHint": "Ishonchlilik/tezlik ma'lumotlari bo'lmagan modellarga namunalar to'plashi uchun 10% sinab ko'rish imkoniyati beriladi.",+ "keySelection": "Kalit tanlash",+ "keySelectionAuto": "Avtomatik",+ "keySelectionLeastRemaining": "Eng kam qolgan",+ "keySelectionHint": "Bitta provayderning bir nechta kaliti orasidan qanday tanlanadi. Avtomatik joriy navbatni saqlaydi; Eng kam qolgan kalitlarni kuzatilgan kvota bo‘yicha tartiblaydi va eng ko‘p qolgan kalitni birinchi sinaydi.","peakActive": "(eng band soatlar)","peakActiveHint": "Eng band soatlar moslashuvi hozir yoqilgan, shuning uchun bular andozaning oʻz vaznlari emas: tezlik vaznining 60% ishonchlilikka koʻchirilgan.","peakAdjust": "Eng band soatlar moslashuvi",diff --git a/client/src/i18n/locales/vi.json b/client/src/i18n/locales/vi.jsonindex d5a78c46..ab1e4fb8 100644--- a/client/src/i18n/locales/vi.json+++ b/client/src/i18n/locales/vi.json@@ -279,6 +279,10 @@"strategies": {"explore": "Khám phá các mô hình chưa được đo","exploreHint": "Cho các mô hình chưa có dữ liệu độ tin cậy/tốc độ 10% cơ hội được thử để tích lũy mẫu.",+ "keySelection": "Chọn khóa",+ "keySelectionAuto": "Tự động",+ "keySelectionLeastRemaining": "Còn lại ít nhất",+ "keySelectionHint": "Cách chọn giữa nhiều khóa của cùng một nhà cung cấp. Tự động giữ nguyên vòng xoay hiện tại; Còn lại ít nhất sắp xếp khóa theo hạn mức quan sát được và thử khóa còn nhiều nhất trước.","peakActive": "(giờ cao điểm)","peakActiveHint": "Điều chỉnh giờ cao điểm đang hoạt động, nên đây không phải là trọng số của chính preset: 60% trọng số tốc độ đã chuyển sang độ tin cậy.","peakAdjust": "Điều chỉnh giờ cao điểm",diff --git a/client/src/i18n/locales/yo.json b/client/src/i18n/locales/yo.jsonindex 38db5d88..c8918947 100644--- a/client/src/i18n/locales/yo.json+++ b/client/src/i18n/locales/yo.json@@ -279,6 +279,10 @@"strategies": {"explore": "Ṣawari awọn awoṣe ti a ko ti wọn","exploreHint": "Fun awọn awoṣe ti ko ni data igbẹkẹle/iyara ni anfani 10% lati dan wo ki wọn le ko apẹẹrẹ jọ.",+ "keySelection": "Yíyan kọ́kọ́rọ́",+ "keySelectionAuto": "Aládàáṣe",+ "keySelectionLeastRemaining": "Èyí tó kù jù",+ "keySelectionHint": "Bí a ṣe ń yan láàrin àwọn kọ́kọ́rọ́ púpọ̀ ti olùpèsè kan náà. Aládàáṣe ń pa ìyípo tó wà lọ́wọ́ mọ́; Èyí tó kù jù ń tò àwọn kọ́kọ́rọ́ nípa ìwọ̀n tí a rí, ó sì kọ́kọ́ gbìyànjú èyí tó ní ìwọ̀n tó pọ̀ jù tó kù.","peakActive": "(àkókò ìdààmú)","peakActiveHint": "Àtúnṣe àkókò ìdààmú ń ṣiṣẹ́ nísinsìnyí, nítorí náà àwọn ìwọ̀n wọ̀nyí kìí ṣe ti ìṣàkóso fúnra rẹ̀: 60% ìwọ̀n ìyára ti kọjá sí ìgbẹ́kẹ̀lé.","peakAdjust": "Àtúnṣe àkókò ìdààmú",diff --git a/client/src/i18n/locales/zh-CN.json b/client/src/i18n/locales/zh-CN.jsonindex 93e36e31..f5416767 100644--- a/client/src/i18n/locales/zh-CN.json+++ b/client/src/i18n/locales/zh-CN.json@@ -279,6 +279,10 @@"strategies": {"explore": "探索未测模型","exploreHint": "给尚无可靠性/速度数据的模型 10% 的尝试机会,以便积累样本。",+ "keySelection": "密钥选择",+ "keySelectionAuto": "自动",+ "keySelectionLeastRemaining": "按剩余额度",+ "keySelectionHint": "当同一提供商配置了多个密钥时如何选择。自动保持当前轮换;按剩余额度会根据观测到的配额排序,优先使用剩余最多的密钥。","peakActive": "(高峰时段)","peakActiveHint": "高峰时段调整当前已生效,因此这些不是预设本身的权重:60% 的速度权重已转移到可靠性上。","peakAdjust": "高峰时段调整",diff --git a/client/src/i18n/locales/zh-TW.json b/client/src/i18n/locales/zh-TW.jsonindex b25ddec5..1670d573 100644--- a/client/src/i18n/locales/zh-TW.json+++ b/client/src/i18n/locales/zh-TW.json@@ -279,6 +279,10 @@"strategies": {"explore": "探索未測模型","exploreHint": "給尚無可靠性/速度資料的模型 10% 的嘗試機會,以便累積樣本。",+ "keySelection": "金鑰選擇",+ "keySelectionAuto": "自動",+ "keySelectionLeastRemaining": "依剩餘額度",+ "keySelectionHint": "當同一供應商設定了多把金鑰時如何選擇。自動維持目前輪換;依剩餘額度會依觀測到的配額排序,優先使用剩餘最多的金鑰。","peakActive": "(尖峰時段)","peakActiveHint": "尖峰時段調整目前已生效,因此這些不是預設本身的權重:60% 的速度權重已轉移到可靠性上。","peakAdjust": "尖峰時段調整",diff --git a/client/src/lib/routing.ts b/client/src/lib/routing.tsindex 4c18207e..bf4a5e89 100644--- a/client/src/lib/routing.ts+++ b/client/src/lib/routing.ts@@ -58,6 +58,11 @@ export interface FallbackEntry {export type RoutingStrategy = 'priority' | 'balanced' | 'smartest' | 'fastest' | 'reliable' | 'custom'+// How the gateway picks between several keys of ONE platform, once a model has+// been chosen (#919). Separate from RoutingStrategy, which ranks models: the+// two are independent knobs and the Fallback page sets them side by side.+export type KeySelectionStrategy = 'auto' | 'least-remaining'+export type RoutingWeights = { reliability: number; speed: number; intelligence: number }/** Presets the peak-hours adjustment (#760) leaves alone: they already sit at@@ -95,6 +100,9 @@ export interface RoutingData {/** IANA timezone the peak window is read in (default 'UTC'). */peakTimezone: stringpeakAdjusted: boolean+ /** Key-selection policy (#919). Required for the same reason as+ * exploreEnabled: the picker renders straight from GET /routing. */+ keySelectionStrategy: KeySelectionStrategyscores: (RoutingScore & { platform: string; modelId: string; displayName: string; enabled: boolean })[]}diff --git a/client/src/pages/FallbackPage.tsx b/client/src/pages/FallbackPage.tsxindex f3336cfe..f46618fe 100644--- a/client/src/pages/FallbackPage.tsx+++ b/client/src/pages/FallbackPage.tsx@@ -28,6 +28,7 @@ import {type RoutingData,type RoutingStrategy,type RoutingWeights,+ type KeySelectionStrategy,type Row,type TokenUsageData,} from '@/lib/routing'@@ -125,12 +126,14 @@ export default function FallbackPage() {mutationFn: (payload: {strategy: RoutingStrategy; weights?: RoutingWeights; exploreEnabled?: booleanpeakHoursAdjust?: boolean; peakStartHour?: number; peakEndHour?: number; peakTimezone?: string+ keySelectionStrategy?: KeySelectionStrategy}) =>apiFetch('/api/fallback/routing', { method: 'PUT', body: JSON.stringify(payload) }),onSuccess: () => queryClient.invalidateQueries({ queryKey: ['fallback', 'routing'] }),})const strategy: RoutingStrategy = routing?.strategy ?? 'balanced'+ const keySelection: KeySelectionStrategy = routing?.keySelectionStrategy ?? 'auto'const isManual = strategy === 'priority'// Merge fallback metadata with live scores, keyed by model.@@ -276,29 +279,51 @@ export default function FallbackPage() {)}</div>- <div className="inline-flex flex-wrap items-center gap-1 rounded-xl border p-1">- {STRATEGIES.map(s => (- <Tooltip key={s.key} text={t(`strategies.${s.tKey}Blurb`)}>- <button- disabled={strategyMutation.isPending}- onClick={() => strategyMutation.mutate({ strategy: s.key })}- className={`px-3 py-1.5 text-xs rounded-lg transition-colors ${- s.key === strategy- ? 'bg-foreground text-background font-medium'- : 'text-muted-foreground hover:text-foreground hover:bg-muted'- }`}- >- {t(`strategies.${s.tKey}`)}- </button>+ <div className="flex flex-wrap items-center gap-3">+ <div className="inline-flex flex-wrap items-center gap-1 rounded-xl border p-1">+ {STRATEGIES.map(s => (+ <Tooltip key={s.key} text={t(`strategies.${s.tKey}Blurb`)}>+ <button+ disabled={strategyMutation.isPending}+ onClick={() => strategyMutation.mutate({ strategy: s.key })}+ className={`px-3 py-1.5 text-xs rounded-lg transition-colors ${+ s.key === strategy+ ? 'bg-foreground text-background font-medium'+ : 'text-muted-foreground hover:text-foreground hover:bg-muted'+ }`}+ >+ {t(`strategies.${s.tKey}`)}+ </button>+ </Tooltip>+ ))}+ {strategy === 'custom' && routing && (+ <CustomWeightsPopover+ saved={routing.customWeights}+ saving={strategyMutation.isPending}+ onSave={w => strategyMutation.mutate({ strategy: 'custom', weights: w })}+ />+ )}+ </div>++ {/* Key selection (#919). A separate knob from the strategy above:+ that one ranks MODELS, this one picks between several keys of+ the same provider. Shown in every mode — manual chain order+ still leaves the choice of key open. */}+ <label className="inline-flex items-center gap-2 text-xs text-muted-foreground">+ <span>{t('strategies.keySelection')}</span>+ <select+ value={keySelection}+ disabled={strategyMutation.isPending}+ onChange={e => strategyMutation.mutate({ strategy, keySelectionStrategy: e.target.value as KeySelectionStrategy })}+ className="rounded-lg border bg-background px-2 py-1.5 text-xs text-foreground"+ >+ <option value="auto">{t('strategies.keySelectionAuto')}</option>+ <option value="least-remaining">{t('strategies.keySelectionLeastRemaining')}</option>+ </select>+ <Tooltip text={t('strategies.keySelectionHint')}>+ <span className="cursor-help underline decoration-dotted underline-offset-2">?</span></Tooltip>- ))}- {strategy === 'custom' && routing && (- <CustomWeightsPopover- saved={routing.customWeights}- saving={strategyMutation.isPending}- onSave={w => strategyMutation.mutate({ strategy: 'custom', weights: w })}- />- )}+ </label></div><p className="mt-2 text-xs text-muted-foreground">diff --git a/server/src/__tests__/routes/routing-semantics.test.ts b/server/src/__tests__/routes/routing-semantics.test.tsindex 204af8ef..4dd11731 100644--- a/server/src/__tests__/routes/routing-semantics.test.ts+++ b/server/src/__tests__/routes/routing-semantics.test.ts@@ -8,7 +8,9 @@ import {resolveRoutingChain,routeRequest,setRoutingStrategy,+ setKeySelectionStrategy,} from '../../services/router.js';+import { recordQuotaObservation } from '../../services/provider-quota.js';import { mintDashboardToken, isGatedApiPath } from '../helpers/auth.js';let app: Express;@@ -36,24 +38,64 @@ function activeProfileId(): number {return Number(row.value);}-function addKey(platform: string): void {- const secret = encrypt(`${platform}-routing-test-key`);- getDb().prepare(`+function addKey(platform: string, label = 'routing-test'): number {+ const secret = encrypt(`${platform}-${label}-routing-test-key`);+ const inserted = getDb().prepare(`INSERT INTO api_keys (platform, label, encrypted_key, iv, auth_tag, status, enabled)- VALUES (?, 'routing-test', ?, ?, ?, 'healthy', 1)- `).run(platform, secret.encrypted, secret.iv, secret.authTag);+ VALUES (?, ?, ?, ?, ?, 'healthy', 1)+ `).run(platform, label, secret.encrypted, secret.iv, secret.authTag);+ return Number(inserted.lastInsertRowid);}-function addSyntheticModel(modelId: string, priority: number, enabled = true): number {+// A key on a custom endpoint, identified by its base_url (the endpoint IS the+// url; several credentials may share it — see services/custom-endpoint.ts).+function addCustomKey(baseUrl: string, label: string): number {+ const secret = encrypt(`${label}-custom-secret`);+ const inserted = getDb().prepare(`+ INSERT INTO api_keys (platform, label, encrypted_key, iv, auth_tag, status, enabled, base_url)+ VALUES ('custom', ?, ?, ?, ?, 'healthy', 1, ?)+ `).run(label, secret.encrypted, secret.iv, secret.authTag, baseUrl);+ return Number(inserted.lastInsertRowid);+}++/** Wipe the chain so a test routes over exactly the models it seeds. */+function clearChain(): void {+ const db = getDb();+ db.prepare('DELETE FROM fallback_config').run();+ db.prepare('DELETE FROM profile_models').run();+ db.prepare('DELETE FROM models').run();+ db.prepare('DELETE FROM api_keys').run();+}++/** A key's observed quota, as the provider would have reported it in headers. */+function observeQuota(platform: string, keyId: number, pool: string, remaining: number, limit = 1000): void {+ recordQuotaObservation({+ platform: platform as any,+ keyId,+ quotaPoolKey: pool,+ metric: 'requests',+ limit,+ remaining,+ source: 'header',+ });+}++function addSyntheticModel(+ modelId: string,+ priority: number,+ enabled = true,+ platform = 'groq',+ keyId: number | null = null,+): number {const db = getDb();const inserted = db.prepare(`INSERT INTO models (platform, model_id, display_name, intelligence_rank, speed_rank, size_label,rpm_limit, rpd_limit, tpm_limit, tpd_limit, monthly_token_budget,- context_window, enabled, supports_vision, supports_tools+ context_window, enabled, supports_vision, supports_tools, key_id)- VALUES ('groq', ?, ?, ?, ?, 'Small', NULL, NULL, NULL, NULL, '~1M', 128000, 1, 0, 1)- `).run(modelId, `Routing Test ${modelId}`, priority, priority);+ VALUES (?, ?, ?, ?, ?, 'Small', NULL, NULL, NULL, NULL, '~1M', 128000, 1, 0, 1, ?)+ `).run(platform, modelId, `Routing Test ${modelId}`, priority, priority, keyId);const id = Number(inserted.lastInsertRowid);db.prepare('INSERT INTO fallback_config (model_db_id, priority, enabled) VALUES (?, ?, ?)').run(id, priority, enabled ? 1 : 0);db.prepare('INSERT INTO profile_models (profile_id, model_db_id, priority, enabled) VALUES (?, ?, ?, ?)')@@ -159,3 +201,130 @@ describe('routing semantics', () => {expect(routed.modelId).toBe('direct-only-model');});});++// ── #919: remaining-quota key selection ─────────────────────────────────────+// A separate setting from the routing strategy: the strategy ranks MODELS, this+// picks between several keys of one platform. 'least-remaining' ranks them by+// how much of their observed quota is left and tries the roomiest first, so the+// key nearest its cap is held in reserve instead of being the next to 429.+describe('key selection by remaining quota (#919)', () => {+ // cerebras meters each key against its own budget ('cerebras::shared'), which+ // is what makes "which key has more left" a question with an answer.+ const CEREBRAS_POOL = 'cerebras::shared';++ /** Two cerebras keys — the drained one FIRST, so rowid order (and the+ * round-robin cursor that starts on it) would pick exactly the wrong key.+ * The model id is per-test because the rotation cursor is keyed on it and+ * outlives the in-memory DB. */+ function seedTwoKeys(modelId: string): { drained: number; roomy: number } {+ clearChain();+ const drained = addKey('cerebras', 'drained');+ const roomy = addKey('cerebras', 'roomy');+ observeQuota('cerebras', drained, CEREBRAS_POOL, 20);+ observeQuota('cerebras', roomy, CEREBRAS_POOL, 950);+ addSyntheticModel(modelId, 1, true, 'cerebras');+ return { drained, roomy };+ }++ it('routes to the key with the MOST quota left, even though it was added last', () => {+ const { drained, roomy } = seedTwoKeys('roomiest-key-wins');+ setKeySelectionStrategy('least-remaining');++ const routed = routeRequest(100);+ routed.release?.();+ expect(routed.platform).toBe('cerebras');+ expect(routed.keyId).toBe(roomy);+ expect(routed.keyId).not.toBe(drained);+ });++ it("leaves the rotation alone under the default 'auto' selection", () => {+ const { drained } = seedTwoKeys('auto-keeps-rotation');+ // Same data, setting untouched: the round-robin cursor still starts on the+ // first key, which is what proves the reordering above came from the knob.+ const routed = routeRequest(100);+ routed.release?.();+ expect(routed.keyId).toBe(drained);+ });++ it('keeps the round-robin rotation when no key has a quota observation', () => {+ clearChain();+ const first = addKey('cerebras', 'first');+ const second = addKey('cerebras', 'second');+ addSyntheticModel('unobserved-model', 1, true, 'cerebras');+ setKeySelectionStrategy('least-remaining');++ const picks: number[] = [];+ for (let i = 0; i < 3; i++) {+ const routed = routeRequest(100);+ routed.release?.();+ picks.push(routed.keyId);+ }+ // No signal → no ranking: the legacy rotation is untouched.+ expect(picks).toEqual([first, second, first]);+ });++ it('does not reorder keys on an account-scoped quota pool', () => {+ clearChain();+ // groq pools every key of the account into one budget ('groq::account'), so+ // per-key headroom is the same number for all of them and reordering would+ // only churn the rotation.+ const firstKey = addKey('groq', 'first');+ const secondKey = addKey('groq', 'second');+ observeQuota('groq', firstKey, 'groq::account', 10);+ observeQuota('groq', secondKey, 'groq::account', 990);+ addSyntheticModel('account-pool-model', 1, true, 'groq');+ setKeySelectionStrategy('least-remaining');++ const routed = routeRequest(100);+ routed.release?.();+ expect(routed.keyId).toBe(firstKey);+ });++ it('still confines a custom model to its own endpoint\'s keys', () => {+ clearChain();+ const endpointA = 'http://127.0.0.1:11434/v1';+ const endpointB = 'http://127.0.0.1:8080/v1';+ const aDrained = addCustomKey(endpointA, 'endpoint-a-drained');+ const aRoomy = addCustomKey(endpointA, 'endpoint-a-roomy');+ // The roomiest key on the platform belongs to a DIFFERENT endpoint, so a+ // sort that forgot the endpoint filter would hand this model B's key.+ const bRoomiest = addCustomKey(endpointB, 'endpoint-b');+ observeQuota('custom', aDrained, 'custom::endpoint-a-model', 30);+ observeQuota('custom', aRoomy, 'custom::endpoint-a-model', 600);+ observeQuota('custom', bRoomiest, 'custom::endpoint-a-model', 999);+ addSyntheticModel('endpoint-a-model', 1, true, 'custom', aDrained);+ setKeySelectionStrategy('least-remaining');++ const routed = routeRequest(100);+ routed.release?.();+ expect(routed.platform).toBe('custom');+ expect(routed.keyId).toBe(aRoomy);+ expect(routed.keyId).not.toBe(bRoomiest);+ });++ it('round-trips the setting through GET/PUT /api/fallback/routing', async () => {+ const before = await request('GET', '/api/fallback/routing');+ expect(before.status).toBe(200);+ expect(before.body.keySelectionStrategy).toBe('auto');++ const put = await request('PUT', '/api/fallback/routing', {+ strategy: 'balanced',+ keySelectionStrategy: 'least-remaining',+ });+ expect(put.status).toBe(200);+ expect(put.body.keySelectionStrategy).toBe('least-remaining');++ const after = await request('GET', '/api/fallback/routing');+ expect(after.body.keySelectionStrategy).toBe('least-remaining');+ // Independent of the model strategy: switching strategy leaves it alone.+ const switched = await request('PUT', '/api/fallback/routing', { strategy: 'fastest' });+ expect(switched.body.keySelectionStrategy).toBe('least-remaining');+ expect(switched.body.strategy).toBe('fastest');++ const rejected = await request('PUT', '/api/fallback/routing', {+ strategy: 'balanced',+ keySelectionStrategy: 'quota-weighted',+ });+ expect(rejected.status).toBe(400);+ });+});diff --git a/server/src/routes/fallback.ts b/server/src/routes/fallback.tsindex b7c2842c..35310d40 100644--- a/server/src/routes/fallback.ts+++ b/server/src/routes/fallback.ts@@ -7,7 +7,7 @@ import { Router } from 'express';import type { Request, Response } from 'express';import { z } from 'zod';import { getDb } from '../db/index.js';-import { getAllPenalties, getRoutingScores, getRoutingStrategy, setRoutingStrategy, setCustomWeights, getExploreEnabled, setExploreEnabled, getPeakHoursConfig, setPeakHoursConfig, getActiveRoutingWeights } from '../services/router.js';+import { getAllPenalties, getRoutingScores, getRoutingStrategy, setRoutingStrategy, setCustomWeights, getExploreEnabled, setExploreEnabled, getPeakHoursConfig, setPeakHoursConfig, getActiveRoutingWeights, getKeySelectionStrategy, setKeySelectionStrategy } from '../services/router.js';import { BANDIT_PRESETS, isValidTimezone, type RoutingStrategy } from '../services/scoring.js';import { parseBudget } from '../lib/budget.js';import { getModelGroups } from '../services/model-groups.js';@@ -55,6 +55,10 @@ const routingSchema = z.object({peakStartHour: z.number().int().min(0).max(23, { message: 'peakStartHour must be an integer between 0 and 23' }).optional(),peakEndHour: z.number().int().min(0).max(23, { message: 'peakEndHour must be an integer between 0 and 23' }).optional(),peakTimezone: z.string().refine(isValidTimezone, { message: 'peakTimezone must be a valid IANA timezone name' }).optional(),+ // How to pick between several keys of one platform (#919). Independent of+ // `strategy`, which ranks MODELS — the two are set from the same form, so+ // they round-trip through the same request.+ keySelectionStrategy: z.enum(['auto', 'least-remaining']).optional(),});// PUT /routing → switch strategy. Presets are just weight vectors over the three@@ -80,6 +84,9 @@ fallbackRouter.put('/routing', (req: Request, res: Response) => {if (parsed.data.exploreEnabled !== undefined) {setExploreEnabled(parsed.data.exploreEnabled);}+ if (parsed.data.keySelectionStrategy !== undefined) {+ setKeySelectionStrategy(parsed.data.keySelectionStrategy);+ }try {setPeakHoursConfig({enabled: parsed.data.peakHoursAdjust,@@ -100,6 +107,7 @@ fallbackRouter.put('/routing', (req: Request, res: Response) => {res.json({strategy: getRoutingStrategy(),exploreEnabled: getExploreEnabled(),+ keySelectionStrategy: getKeySelectionStrategy(),presets: BANDIT_PRESETS,weights: active.weights,peakAdjusted: active.adjusted,diff --git a/server/src/routes/mcp.ts b/server/src/routes/mcp.tsindex 1a638dfd..7de7db39 100644--- a/server/src/routes/mcp.ts+++ b/server/src/routes/mcp.ts@@ -163,6 +163,9 @@ function routingInfo(): unknown {const scores = getRoutingScores();return {strategy: scores.strategy,+ // Which key of a platform requests are steered to (#919) — a separate knob+ // from the model strategy, so it has to be reported separately too.+ key_selection: scores.keySelectionStrategy,top_models: scores.scores.filter(s => s.enabled).slice(0, 10)diff --git a/server/src/services/declarative-config.ts b/server/src/services/declarative-config.tsindex eee2a64c..59c4dfbb 100644--- a/server/src/services/declarative-config.ts+++ b/server/src/services/declarative-config.ts@@ -4,7 +4,7 @@ import type { Db } from '../db/types.js';import { getDb } from '../db/index.js';import { encrypt } from '../lib/crypto.js';import { resolveProvider } from '../providers/index.js';-import { setCustomWeights, setRoutingStrategy } from './router.js';+import { setCustomWeights, setRoutingStrategy, setKeySelectionStrategy } from './router.js';import { ensureModelInProfiles } from './profile-models.js';import { customModelSeed } from './custom-model-seed.js';import { endpointRefMatches, endpointScopeForBaseUrl } from '../lib/endpoint-scope.js';@@ -89,6 +89,9 @@ const declarativeConfigSchema = z.object({speed: z.number().nonnegative(),intelligence: z.number().nonnegative(),}).optional(),+ // Which key of a platform to reach for (#919); orthogonal to `strategy`,+ // which ranks models. Omitted leaves the persisted value alone.+ keySelectionStrategy: z.enum(['auto', 'least-remaining']).optional(),}).optional(),}).strict();@@ -476,6 +479,9 @@ export function applyDeclarativeConfig(input: unknown, source = 'inline'): Declaif (parsed.data.routing) {if (parsed.data.routing.weights) setCustomWeights(parsed.data.routing.weights);setRoutingStrategy(parsed.data.routing.strategy);+ if (parsed.data.routing.keySelectionStrategy) {+ setKeySelectionStrategy(parsed.data.routing.keySelectionStrategy);+ }result.routing = true;}});diff --git a/server/src/services/provider-quota.ts b/server/src/services/provider-quota.tsindex 79c69bb6..c6b34936 100644--- a/server/src/services/provider-quota.ts+++ b/server/src/services/provider-quota.ts@@ -390,6 +390,10 @@ export function recordQuotaObservation(input: QuotaObservationInput): ProviderQu);})();+ // The row just moved, so the memoised headroom for this platform is wrong —+ // drop it rather than let a 5s window hide a fresh 429 from the router.+ invalidateKeyQuotaHeadroom(platform);+return {id,platform,@@ -442,6 +446,84 @@ function normalizeExpiredQuotaState(db: ReturnType<typeof getDb>): void {`).run();}+// ── Per-key headroom (routing signal) ───────────────────────────────────────+// getQuotaStateForKeys is a panel query: it takes a write (the expiry fix-up)+// and window-functions the whole observation log. The router needs a far+// smaller answer — "how much of its budget does each key of ONE platform have+// left" — on a path that runs per chain entry per request, so it gets its own+// read-only, platform-filtered query behind a short TTL.++/** Confidence floor for letting an observation steer routing. Keeps headers,+ * quota APIs and 429 bodies in; leaves local estimates and probes out. */+const HEADROOM_MIN_CONFIDENCE = 0.7;+/** Quota moves on the timescale of a rate-limit window, not a request, so a+ * few seconds of staleness is invisible while the query count drops to ~one+ * per platform per burst. Writes bust the entry outright (see below). */+const HEADROOM_TTL_MS = 5_000;++// The Db handle is part of the cache identity: reconnecting (tests, a restore)+// hands back a different object, which invalidates every entry at once.+const headroomCache = new Map<string, { db: unknown; at: number; map: Map<number, number> }>();++/**+ * Fraction of the observed budget still available for each key of `platform`,+ * as keyId → 0..1, where 1 is untouched and 0 exhausted. Keys with no usable+ * observation are simply absent — that is not the same as "empty", and callers+ * must treat a miss as unknown rather than as zero headroom.+ *+ * A key metered on several metrics takes the WORST of them: the binding+ * constraint is what 429s, so a key with 90% of its requests but 2% of its+ * tokens left has 2% of headroom, not 90%.+ */+export function getKeyQuotaHeadroom(platform: Platform): Map<number, number> {+ let db;+ try {+ db = getDb();+ } catch {+ return new Map();+ }+ const now = Date.now();+ const cached = headroomCache.get(platform);+ if (cached && cached.db === db && now - cached.at < HEADROOM_TTL_MS) return cached.map;++ const rows = db.prepare(`+ SELECT key_id AS keyId,+ limit_value AS limitValue,+ remaining_value AS remainingValue,+ CASE WHEN reset_at IS NOT NULL AND julianday(reset_at) < julianday('now')+ THEN 1 ELSE 0 END AS expired+ FROM provider_quota_state+ WHERE platform = ?+ AND confidence >= ?+ AND limit_value IS NOT NULL+ AND limit_value > 0+ AND remaining_value IS NOT NULL+ `).all(platform, HEADROOM_MIN_CONFIDENCE) as {+ keyId: number; limitValue: number; remainingValue: number; expired: number;+ }[];++ const map = new Map<number, number>();+ for (const row of rows) {+ // A window that already reset is a full budget again. Same rule as+ // normalizeExpiredQuotaState, minus the write — this path must not take+ // one just to answer a routing question.+ const ratio = row.expired+ ? 1+ : Math.max(0, Math.min(1, row.remainingValue / row.limitValue));+ const prev = map.get(row.keyId);+ if (prev === undefined || ratio < prev) map.set(row.keyId, ratio);+ }+ headroomCache.set(platform, { db, at: now, map });+ return map;+}++/** Drop the memoised headroom for one platform (or all of them). Called on+ * every write so a fresh observation is visible to the very next route. */+export function invalidateKeyQuotaHeadroom(platform?: Platform): void {+ if (platform) headroomCache.delete(platform);+ else headroomCache.clear();+}+export function getQuotaStateForKeys(): QuotaObservationView[] {let db;try {diff --git a/server/src/services/router.ts b/server/src/services/router.tsindex 26845431..7cb811f0 100644--- a/server/src/services/router.ts+++ b/server/src/services/router.ts@@ -16,6 +16,7 @@ import {} from './ratelimit.js';import {BANDIT_PRESETS, DEFAULT_STRATEGY, type RoutingStrategy, type RoutingWeights,+ type KeySelectionStrategy,reliabilityPosterior, expectedReliability, sampleBeta,speedScore, intelligenceScore, intelligenceComposite, headroomFactor, rateLimitFactor, combineScore,peakAdjustedWeights, isValidPeakHour, isValidTimezone,@@ -33,6 +34,7 @@ import { customEndpointKeyIds } from './custom-endpoint.js';import { isDegraded } from './degradation.js';import { modelStatsKey, endpointScopeForBaseUrl } from '../lib/endpoint-scope.js';import { parseModelScope, scopeAllows } from '../lib/model-scope.js';+import { getKeyQuotaHeadroom, inferQuotaPoolKey } from './provider-quota.js';import type { BaseProvider } from '../providers/base.js';import type { Platform } from '@freellmapi/shared/types.js';import type { Db } from '../db/types.js';@@ -409,6 +411,34 @@ export function setPeakHoursConfig(patch: Partial<PeakHoursConfig>): void {if (patch.timezone !== undefined) setSetting(PEAK_TZ_KEY, patch.timezone);}+// ── Key selection strategy (persisted) ─────────────────────────────────────+// Which of a platform's several keys to reach for, once a model has been+// picked. Independent of the routing strategy on purpose (#919): the strategy+// enum drives the MODEL bandit, so putting a key policy in it would make+// choosing a key policy also throw away the model ranking.+// 'auto' — unchanged: per-key bandit score when there is data,+// round-robin otherwise.+// 'least-remaining' — additionally rank by observed remaining quota, roomiest+// key first, so the key closest to its cap is held back+// instead of being the next one to 429.+const KEY_SELECTION_KEY = 'key_selection_strategy';+const VALID_KEY_SELECTIONS: KeySelectionStrategy[] = ['auto', 'least-remaining'];+export const DEFAULT_KEY_SELECTION: KeySelectionStrategy = 'auto';++export function getKeySelectionStrategy(): KeySelectionStrategy {+ const raw = getSetting(KEY_SELECTION_KEY);+ return (raw && VALID_KEY_SELECTIONS.includes(raw as KeySelectionStrategy))+ ? (raw as KeySelectionStrategy)+ : DEFAULT_KEY_SELECTION;+}++export function setKeySelectionStrategy(strategy: KeySelectionStrategy): void {+ if (!VALID_KEY_SELECTIONS.includes(strategy)) {+ throw new Error(`Unknown key selection strategy: ${strategy}`);+ }+ setSetting(KEY_SELECTION_KEY, strategy);+}+// ── Custom weights (persisted) ──────────────────────────────────────────────// User-tuned weight vector for the 'custom' strategy. Stored normalized (sums// to 1) so the dashboard percentages read cleanly; combineScore would tolerate@@ -1164,6 +1194,48 @@ function orderKeysByScore(entry: ChainRow, keys: KeyRow[]): KeyRow[] | null {.map(x => x.k);}+/** Headroom assumed for a key the quota tracker has never seen. Neutral on+ * purpose: an unobserved budget is no reason to prefer a key (it could be+ * drained) and no reason to avoid one (it could be untouched), so it sorts+ * between an exhausted key and a fresh one and otherwise keeps its incoming+ * round-robin position. */+const UNKNOWN_QUOTA_HEADROOM = 0.5;++/**+ * Whether remaining-quota weighting is meaningful for this chain entry: the+ * operator asked for it AND the platform meters its keys separately.+ *+ * An account-scoped pool ('<platform>::account') is ONE budget every key of the+ * account draws down, so "which key has more left" has no answer — every key+ * reports the same number, and reordering on it would only churn the rotation+ * for nothing (#919).+ */+function quotaWeightingApplies(entry: ChainRow): boolean {+ if (getKeySelectionStrategy() !== 'least-remaining') return false;+ return !inferQuotaPoolKey(entry.platform as Platform, entry.model_id).endsWith('::account');+}++/**+ * Re-order an already-ordered candidate list by observed remaining quota,+ * roomiest first (#919 — the issue asks for higher-remaining-first, so the key+ * nearest its cap is tried last, not first).+ *+ * Deliberately a SORT over the caller's list rather than a second walk: the+ * incoming order is the round-robin rotation (or the per-key bandit ranking),+ * and Array#sort is stable, so keys with equal headroom — including the common+ * case of no observations at all — keep exactly the order they would have had.+ * Every gate, the custom-endpoint filter and the skip tally stay in the one+ * walk that follows.+ */+function orderKeysByRemainingQuota(entry: ChainRow, ordered: KeyRow[]): KeyRow[] {+ const headroom = getKeyQuotaHeadroom(entry.platform as Platform);+ if (headroom.size === 0) return ordered;+ // Hoisted out of the comparator: sort calls it O(n log n) times, and the+ // lookup below must not re-derive anything per comparison.+ const room = new Map(ordered.map(k => [k.id, headroom.get(k.id) ?? UNKNOWN_QUOTA_HEADROOM]));+ return [...ordered].sort((a, b) => room.get(b.id)! - room.get(a.id)!);+}+/*** Pick a usable key for ONE model and build its RouteResult, or return null if* the model has no key that can serve the request right now (all cooled down,@@ -1225,7 +1297,16 @@ function selectKeyForModel(entry: ChainRow, estimatedTokens: number, skipKeys?:// cursor over the platform's key list (#651).const rrKey = modelStatsKey(entry.platform, entry.model_id, entry.endpoint_scope);let idx = roundRobinIndex.get(rrKey) ?? 0;- const ranked = orderKeysByScore(entry, keys);+ let ranked = orderKeysByScore(entry, keys);++ // Remaining-quota weighting (#919) layers on top: it re-sorts whatever order+ // we were going to walk anyway — the bandit ranking when there is per-key+ // data, otherwise the round-robin rotation starting at the live cursor — so+ // ties fall back to that order instead of to rowid.+ if (keys.length > 1 && quotaWeightingApplies(entry)) {+ const base = ranked ?? Array.from({ length: keys.length }, (_, i) => keys[(idx + i) % keys.length]);+ ranked = orderKeysByRemainingQuota(entry, base);+ }// A custom model belongs to exactly one endpoint (#212), but an endpoint can// hold several credentials — so the pool is every key on the same base_url,@@ -1890,7 +1971,7 @@ export interface RoutingScore {totalRequests: number; // decay-weighted observations}-export function getRoutingScores(): { strategy: RoutingStrategy; weights: RoutingWeights | null; customWeights: RoutingWeights; exploreEnabled: boolean; peakAdjusted: boolean; peakHours: PeakHoursConfig; scores: RoutingScore[] } {+export function getRoutingScores(): { strategy: RoutingStrategy; keySelectionStrategy: KeySelectionStrategy; weights: RoutingWeights | null; customWeights: RoutingWeights; exploreEnabled: boolean; peakAdjusted: boolean; peakHours: PeakHoursConfig; scores: RoutingScore[] } {const db = getDb();const strategy = getRoutingStrategy();refreshStatsCache(db);@@ -1930,13 +2011,15 @@ export function getRoutingScores(): { strategy: RoutingStrategy; weights: Routin// mode and the active preset otherwise.// exploreEnabled must ride along here too: the dashboard checkbox renders// from GET /routing, so omitting it would make the toggle look permanently- // off (and impossible to turn off) after a refetch.+ // off (and impossible to turn off) after a refetch. Same for the key+ // selection picker (#919).// peakAdjusted tells the dashboard whether the weight summary it is about to// render is the raw preset or a peak-hours variant of it (#760) — without it// the numbers would change under the operator with nothing to explain why.const active = weightsWithPeak(strategy);return {strategy,+ keySelectionStrategy: getKeySelectionStrategy(),weights: active.weights,customWeights: getCustomWeights(),exploreEnabled: getExploreEnabled(),diff --git a/server/src/services/scoring.ts b/server/src/services/scoring.tsindex 6f2a8cbb..58383169 100644--- a/server/src/services/scoring.ts+++ b/server/src/services/scoring.ts@@ -33,6 +33,14 @@ export interface RoutingWeights {// router.ts). Each is just a weight vector — the engine is identical.export type RoutingStrategy = 'priority' | 'balanced' | 'smartest' | 'fastest' | 'reliable' | 'custom';+// How the router picks BETWEEN several keys of one platform, once a model has+// been chosen. Deliberately not a RoutingStrategy: model ranking and key+// selection are independent choices, and folding this into the strategy enum+// would mean switching key policy also switches (or disables) the model bandit.+// 'auto' is the historical behaviour — per-key bandit score, else round-robin.+// 'least-remaining' additionally ranks by observed remaining quota (#919).+export type KeySelectionStrategy = 'auto' | 'least-remaining';+export const BANDIT_PRESETS: Record<Exclude<RoutingStrategy, 'priority' | 'custom'>, RoutingWeights> = {// Reliability leads; speed and intelligence split the rest evenly.balanced: { reliability: 0.5, speed: 0.25, intelligence: 0.25 },