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
Show the key label on the failover ladder (#871)
suantea (asuan_suan)d4c5e24f9971
diff --git a/client/src/i18n/locales/am.json b/client/src/i18n/locales/am.jsonindex b19b9d47..365d87b7 100644--- a/client/src/i18n/locales/am.json+++ b/client/src/i18n/locales/am.json@@ -690,6 +690,7 @@"failoverLadderHint": "እያንዳንዱ ሆፕ ይህ ጥያቄ በቅደም ተከተል በመውደቅ ሰንሰለት ውስጥ ወስዷል።","noAttemptTrace": "ለዚህ ጥያቄ ምንም አይነት ሙከራ አልተመዘገበም።","keyOrdinal": "ቁልፍ #{n}",+ "keyBadge": "ቁልፍ #{n}","attemptTimingHint": "ከጥያቄ ጅምር ማካካሻ ጀምር · የሙከራ ጊዜ","requestedModel": "የተጠየቀው ሞዴል","ttft": "TTFT",diff --git a/client/src/i18n/locales/ar.json b/client/src/i18n/locales/ar.jsonindex e635df31..299e378d 100644--- a/client/src/i18n/locales/ar.json+++ b/client/src/i18n/locales/ar.json@@ -690,6 +690,7 @@"failoverLadderHint": "كل خطوة اتخذها هذا الطلب عبر السلسلة الاحتياطية، بالترتيب.","noAttemptTrace": "لم يتم تسجيل أي محاولة تتبع لهذا الطلب.","keyOrdinal": "المفتاح #{n}",+ "keyBadge": "المفتاح #{n}","attemptTimingHint": "بداية الإزاحة من بداية الطلب · مدة المحاولة","requestedModel": "النموذج المطلوب","ttft": "TTFT",diff --git a/client/src/i18n/locales/az.json b/client/src/i18n/locales/az.jsonindex ba885353..2c84e64c 100644--- a/client/src/i18n/locales/az.json+++ b/client/src/i18n/locales/az.json@@ -690,6 +690,7 @@"failoverLadderHint": "Bu sorğu ehtiyat zəncirindən keçən hər sıçrayış, ardıcıllıqla.","noAttemptTrace": "Bu sorğu üçün heç bir cəhd izi qeydə alınmadı.","keyOrdinal": "Əsas #{n}",+ "keyBadge": "Açar #{n}","attemptTimingHint": "Sorğu başlanğıcından ofset · Cəhd müddəti","requestedModel": "Tələb olunan model","ttft": "TTFT",diff --git a/client/src/i18n/locales/bg.json b/client/src/i18n/locales/bg.jsonindex cdb68b98..23d2785e 100644--- a/client/src/i18n/locales/bg.json+++ b/client/src/i18n/locales/bg.json@@ -690,6 +690,7 @@"failoverLadderHint": "При всеки скок тази заявка преминаваше през резервната верига, по ред.","noAttemptTrace": "Не беше записан опит за проследяване на тази заявка.","keyOrdinal": "Ключови #{n}",+ "keyBadge": "Ключ #{n}","attemptTimingHint": "Изместване на старта от заявката за старт · Продължителност на опита","requestedModel": "Поискан модел","ttft": "TTFT",diff --git a/client/src/i18n/locales/bn.json b/client/src/i18n/locales/bn.jsonindex fcd118e2..c8c683d7 100644--- a/client/src/i18n/locales/bn.json+++ b/client/src/i18n/locales/bn.json@@ -690,6 +690,7 @@"failoverLadderHint": "প্রতিটি হপ এই অনুরোধটি ফলব্যাক চেইনের মাধ্যমে নেওয়া হয়েছে, ক্রমানুসারে।","noAttemptTrace": "এই অনুরোধের জন্য কোন প্রচেষ্টা ট্রেস রেকর্ড করা হয়নি.","keyOrdinal": "কী #{n}",+ "keyBadge": "কী #{n}","attemptTimingHint": "অনুরোধ শুরু থেকে অফসেট শুরু করুন · প্রচেষ্টার সময়কাল","requestedModel": "অনুরোধ করা মডেল","ttft": "TTFT",diff --git a/client/src/i18n/locales/cs.json b/client/src/i18n/locales/cs.jsonindex e79aa22b..c82a9182 100644--- a/client/src/i18n/locales/cs.json+++ b/client/src/i18n/locales/cs.json@@ -690,6 +690,7 @@"failoverLadderHint": "Každý skok tohoto požadavku procházel záložním řetězcem, v pořadí.","noAttemptTrace": "Nebyl zaznamenán žádný pokus o vystopování této žádosti.","keyOrdinal": "Klíčové #{n}",+ "keyBadge": "Klíč #{n}","attemptTimingHint": "Začít offset od začátku požadavku · Doba trvání pokusu","requestedModel": "Požadovaný model","ttft": "TTFT",diff --git a/client/src/i18n/locales/da.json b/client/src/i18n/locales/da.jsonindex c553cdea..1d4e86b0 100644--- a/client/src/i18n/locales/da.json+++ b/client/src/i18n/locales/da.json@@ -690,6 +690,7 @@"failoverLadderHint": "Hver gang denne anmodning gik gennem fallback-kæden, i rækkefølge.","noAttemptTrace": "Der blev ikke registreret nogen sporing af forsøg på denne anmodning.","keyOrdinal": "Nøgle #{n}",+ "keyBadge": "Nøgle #{n}","attemptTimingHint": "Startforskydning fra anmodningsstart · Forsøgsvarighed","requestedModel": "Efterspurgt model","ttft": "TTFT",diff --git a/client/src/i18n/locales/de.json b/client/src/i18n/locales/de.jsonindex c4f38a37..b28d60de 100644--- a/client/src/i18n/locales/de.json+++ b/client/src/i18n/locales/de.json@@ -690,6 +690,7 @@"failoverLadderHint": "Jeder Hop, den diese Anfrage durchlief, wurde der Reihe nach durch die Fallback-Kette durchlaufen.","noAttemptTrace": "Für diese Anfrage wurde keine Versuchsverfolgung aufgezeichnet.","keyOrdinal": "Schlüssel #{n}",+ "keyBadge": "Schlüssel #{n}","attemptTimingHint": "Startoffset vom Anforderungsstart · Versuchsdauer","requestedModel": "Angefragtes Modell","ttft": "TTFT",diff --git a/client/src/i18n/locales/el.json b/client/src/i18n/locales/el.jsonindex e5f49a2e..02f7dab2 100644--- a/client/src/i18n/locales/el.json+++ b/client/src/i18n/locales/el.json@@ -690,6 +690,7 @@"failoverLadderHint": "Κάθε άλμα που έκανε αυτό το αίτημα μέσω της εναλλακτικής αλυσίδας, με τη σειρά.","noAttemptTrace": "Δεν καταγράφηκε κανένα ίχνος προσπάθειας για αυτό το αίτημα.","keyOrdinal": "Βασικά #{n}",+ "keyBadge": "Κλειδί #{n}","attemptTimingHint": "Μετατόπιση έναρξης από την έναρξη αιτήματος · Διάρκεια προσπάθειας","requestedModel": "Ζητούμενο μοντέλο","ttft": "TTFT",diff --git a/client/src/i18n/locales/en.json b/client/src/i18n/locales/en.jsonindex a8173018..423f0f5d 100644--- a/client/src/i18n/locales/en.json+++ b/client/src/i18n/locales/en.json@@ -707,6 +707,7 @@"failoverLadderHint": "Each hop this request took through the fallback chain, in order.","noAttemptTrace": "No attempt trace was recorded for this request.","keyOrdinal": "key #{n}",+ "keyBadge": "Key #{n}","attemptTimingHint": "Start offset from request start · attempt duration","requestedModel": "Requested model","ttft": "TTFT"diff --git a/client/src/i18n/locales/es.json b/client/src/i18n/locales/es.jsonindex 6e34521c..eb372b6c 100644--- a/client/src/i18n/locales/es.json+++ b/client/src/i18n/locales/es.json@@ -690,6 +690,7 @@"failoverLadderHint": "Cada salto que esta solicitud dio por la cadena de respaldo, en orden.","noAttemptTrace": "No se registró ninguna traza de intentos para esta solicitud.","keyOrdinal": "clave #{n}",+ "keyBadge": "Clave #{n}","attemptTimingHint": "Desfase desde el inicio de la solicitud · duración del intento","requestedModel": "Modelo solicitado","ttft": "TTFT",diff --git a/client/src/i18n/locales/fa.json b/client/src/i18n/locales/fa.jsonindex a27d493d..bd4702c0 100644--- a/client/src/i18n/locales/fa.json+++ b/client/src/i18n/locales/fa.json@@ -690,6 +690,7 @@"failoverLadderHint": "هر پرش این درخواست به ترتیب از طریق زنجیره بازگشتی انجام می شود.","noAttemptTrace": "هیچ ردی از تلاش برای این درخواست ثبت نشد.","keyOrdinal": "کلید #{n}",+ "keyBadge": "کلید #{n}","attemptTimingHint": "شروع افست از شروع درخواست · مدت زمان تلاش","requestedModel": "مدل درخواستی","ttft": "TTFT",diff --git a/client/src/i18n/locales/fi.json b/client/src/i18n/locales/fi.jsonindex 8acdc821..34b9699e 100644--- a/client/src/i18n/locales/fi.json+++ b/client/src/i18n/locales/fi.json@@ -690,6 +690,7 @@"failoverLadderHint": "Jokainen hyppy, jonka tämä pyyntö kulki varasuunnitelmaketjun läpi, järjestyksessä.","noAttemptTrace": "Tähän pyyntöön ei kirjattu yrityksen jälkeä.","keyOrdinal": "Keskeiset #{n}",+ "keyBadge": "Avain #{n}","attemptTimingHint": "Aloita siirtymä pyynnön alusta · Yrityksen kesto","requestedModel": "Pyydetty malli","ttft": "TTFT",diff --git a/client/src/i18n/locales/fr.json b/client/src/i18n/locales/fr.jsonindex 42a4c126..dc5e713a 100644--- a/client/src/i18n/locales/fr.json+++ b/client/src/i18n/locales/fr.json@@ -690,6 +690,7 @@"failoverLadderHint": "Chaque étape parcourue par cette requête dans la chaîne de repli, dans l'ordre.","noAttemptTrace": "Aucune trace de tentative n'a été enregistrée pour cette requête.","keyOrdinal": "clé #{n}",+ "keyBadge": "Clé #{n}","attemptTimingHint": "Décalage depuis le début de la requête · durée de la tentative","requestedModel": "Modèle demandé","ttft": "TTFT",diff --git a/client/src/i18n/locales/gu.json b/client/src/i18n/locales/gu.jsonindex 53ceadba..f2b7f3a9 100644--- a/client/src/i18n/locales/gu.json+++ b/client/src/i18n/locales/gu.json@@ -690,6 +690,7 @@"failoverLadderHint": "દરેક હોપ આ વિનંતિ ક્રમમાં, ફોલબેક સાંકળ દ્વારા લેવામાં આવી હતી.","noAttemptTrace": "આ વિનંતી માટે કોઈ પ્રયાસ ટ્રેસ રેકોર્ડ કરવામાં આવ્યો ન હતો.","keyOrdinal": "કી #{n}",+ "keyBadge": "કી #{n}","attemptTimingHint": "વિનંતીથી ઓફસેટ શરૂ કરો પ્રારંભ · પ્રયાસ અવધિ","requestedModel": "વિનંતી કરેલ મોડેલ","ttft": "TTFT",diff --git a/client/src/i18n/locales/ha.json b/client/src/i18n/locales/ha.jsonindex d9bcc8be..d9500942 100644--- a/client/src/i18n/locales/ha.json+++ b/client/src/i18n/locales/ha.json@@ -690,6 +690,7 @@"failoverLadderHint": "Kowane hop wannan bukatar ya bi ta sarkar koma baya, cikin tsari.","noAttemptTrace": "Babu wani yunƙuri da aka yi rikodin wannan buƙatar.","keyOrdinal": "makullin #{n}",+ "keyBadge": "Maɓalli #{n}","attemptTimingHint": "Fara biya daga farkon buƙatun · lokacin ƙoƙarin","requestedModel": "Samfurin da ake nema","ttft": "Saukewa: TTFT",diff --git a/client/src/i18n/locales/he.json b/client/src/i18n/locales/he.jsonindex 08472d87..2fc2d9f1 100644--- a/client/src/i18n/locales/he.json+++ b/client/src/i18n/locales/he.json@@ -690,6 +690,7 @@"failoverLadderHint": "כל קפיצה שבקשה הזו עברה דרך שרשרת הגיבוי, לפי הסדר.","noAttemptTrace": "לא נרשמה עקבות ניסיון לבקשה זו.","keyOrdinal": "מפתח #{n}",+ "keyBadge": "מפתח #{n}","attemptTimingHint": "התחל הזזה מהבקשה · משך הניסיון","requestedModel": "מודל מבוקש","ttft": "TTFT",diff --git a/client/src/i18n/locales/hi.json b/client/src/i18n/locales/hi.jsonindex fd233724..e152a918 100644--- a/client/src/i18n/locales/hi.json+++ b/client/src/i18n/locales/hi.json@@ -690,6 +690,7 @@"failoverLadderHint": "प्रत्येक हॉप इस अनुरोध को क्रम में फ़ॉलबैक श्रृंखला के माध्यम से ले गया।","noAttemptTrace": "इस अनुरोध के लिए कोई प्रयास ट्रेस दर्ज नहीं किया गया था।","keyOrdinal": "कुंजी #{n}",+ "keyBadge": "कुंजी #{n}","attemptTimingHint": "अनुरोध प्रारंभ · प्रयास अवधि से प्रारंभ ऑफसेट","requestedModel": "अनुरोधित मॉडल","ttft": "TTFT",diff --git a/client/src/i18n/locales/hr.json b/client/src/i18n/locales/hr.jsonindex 2624c1f8..725edc96 100644--- a/client/src/i18n/locales/hr.json+++ b/client/src/i18n/locales/hr.json@@ -690,6 +690,7 @@"failoverLadderHint": "Svaki hop ovog zahtjeva prolazio je kroz lanac rezervnih opcija, redom.","noAttemptTrace": "Za ovaj zahtjev nije zabilježen nikakav pokušaj praćenja.","keyOrdinal": "Ključne #{n}",+ "keyBadge": "Ključ #{n}","attemptTimingHint": "Početak offseta od početka zahtjeva · Trajanje pokušaja","requestedModel": "Traženi model","ttft": "TTFT",diff --git a/client/src/i18n/locales/hu.json b/client/src/i18n/locales/hu.jsonindex 673198ed..4a3d62a4 100644--- a/client/src/i18n/locales/hu.json+++ b/client/src/i18n/locales/hu.json@@ -690,6 +690,7 @@"failoverLadderHint": "Minden ugrásnál ez a kérés sorrendben haladt a tartalék láncon.","noAttemptTrace": "Ehhez a kéréshez nem figyeltek kísérleti nyomot.","keyOrdinal": "Kulcsfontosságú #{n}",+ "keyBadge": "Kulcs #{n}","attemptTimingHint": "A kérelmű elejétől kezdj el · Próbálkozás időtartama","requestedModel": "Kért modell","ttft": "TTFT",diff --git a/client/src/i18n/locales/id.json b/client/src/i18n/locales/id.jsonindex c25283ba..3ab02d7e 100644--- a/client/src/i18n/locales/id.json+++ b/client/src/i18n/locales/id.json@@ -690,6 +690,7 @@"failoverLadderHint": "Setiap hop yang diambil permintaan ini melalui rantai fallback, secara berurutan.","noAttemptTrace": "Tidak ada jejak upaya yang dicatat untuk permintaan ini.","keyOrdinal": "kunci #{n}",+ "keyBadge": "Kunci #{n}","attemptTimingHint": "Mulai offset dari awal permintaan · durasi upaya","requestedModel": "Model yang diminta","ttft": "TTFT",diff --git a/client/src/i18n/locales/ig.json b/client/src/i18n/locales/ig.jsonindex 8c835206..443339de 100644--- a/client/src/i18n/locales/ig.json+++ b/client/src/i18n/locales/ig.json@@ -690,6 +690,7 @@"failoverLadderHint": "Onye ọ bụla hop arịrịọ a weghaara yinye ọdịda azụ, n'usoro.","noAttemptTrace": "Ọnweghị mbọ ọ bụla edekọtara maka arịrịọ a.","keyOrdinal": "igodo #{n}",+ "keyBadge": "Igodo #{n}","attemptTimingHint": "Malite nkwụsị site na mmalite arịrịọ · Ogologo oge nwaa","requestedModel": "Ihe nlereanya achọrọ","ttft": "TTFT",diff --git a/client/src/i18n/locales/it.json b/client/src/i18n/locales/it.jsonindex bf714600..c0a6118d 100644--- a/client/src/i18n/locales/it.json+++ b/client/src/i18n/locales/it.json@@ -690,6 +690,7 @@"failoverLadderHint": "Ogni passaggio di questa richiesta lungo la catena di fallback, in ordine.","noAttemptTrace": "Nessuna traccia dei tentativi registrata per questa richiesta.","keyOrdinal": "chiave #{n}",+ "keyBadge": "Chiave #{n}","attemptTimingHint": "Offset dall'inizio della richiesta · durata del tentativo","requestedModel": "Modello richiesto","ttft": "TTFT",diff --git a/client/src/i18n/locales/ja.json b/client/src/i18n/locales/ja.jsonindex 7fa1ab03..0bbe52b2 100644--- a/client/src/i18n/locales/ja.json+++ b/client/src/i18n/locales/ja.json@@ -690,6 +690,7 @@"failoverLadderHint": "このリクエストがフォールバック チェーンを順番に通過した各ホップ。","noAttemptTrace": "このリクエストの試行トレースは記録されませんでした。","keyOrdinal": "キー #{n}",+ "keyBadge": "キー #{n}","attemptTimingHint": "リクエスト開始からの開始オフセット · 試行期間","requestedModel": "要求されたモデル","ttft": "TTFT",diff --git a/client/src/i18n/locales/ka.json b/client/src/i18n/locales/ka.jsonindex f920e3ff..3a7ef17b 100644--- a/client/src/i18n/locales/ka.json+++ b/client/src/i18n/locales/ka.json@@ -690,6 +690,7 @@"failoverLadderHint": "ყოველი ჰოპი ამ მოთხოვნამ თანმიმდევრობით გაიარა სარეზერვო ჯაჭვში.","noAttemptTrace": "ამ მოთხოვნაზე მცდელობის კვალი არ დაფიქსირებულა.","keyOrdinal": "გასაღები #{n}",+ "keyBadge": "გასაღები #{n}","attemptTimingHint": "ოფსეტის დაწყება მოთხოვნის დაწყებიდან · მცდელობის ხანგრძლივობა","requestedModel": "მოთხოვნილი მოდელი","ttft": "TTFT",diff --git a/client/src/i18n/locales/km.json b/client/src/i18n/locales/km.jsonindex 0bb73120..955726d4 100644--- a/client/src/i18n/locales/km.json+++ b/client/src/i18n/locales/km.json@@ -690,6 +690,7 @@"failoverLadderHint": "រាល់ជំហានដែលសំណើនេះបានឆ្លងកាត់ខ្សែសង្វាក់បម្រុង តាមលំដាប់។","noAttemptTrace": "មិនមានការតាមដានការព្យាយាមណាមួយត្រូវបានកត់ត្រាសម្រាប់សំណើនេះទេ។","keyOrdinal": "#{n}",+ "keyBadge": "សោ #{n}","attemptTimingHint": "ចាប់ផ្តើមពីចំណុចចាប់ផ្តើម · រយៈពេលព្យាយាម","requestedModel": "ម៉ូដែលដែលបានស្នើសុំ","ttft": "TTFT",diff --git a/client/src/i18n/locales/kn.json b/client/src/i18n/locales/kn.jsonindex eef98766..787e0506 100644--- a/client/src/i18n/locales/kn.json+++ b/client/src/i18n/locales/kn.json@@ -690,6 +690,7 @@"failoverLadderHint": "ಪ್ರತಿ ಹಾಪ್ ಈ ವಿನಂತಿಯು ಫಾಲ್ಬ್ಯಾಕ್ ಚೈನ್ ಮೂಲಕ ಕ್ರಮವಾಗಿ ತೆಗೆದುಕೊಂಡಿತು.","noAttemptTrace": "ಈ ವಿನಂತಿಗಾಗಿ ಯಾವುದೇ ಪ್ರಯತ್ನದ ಗುರುತು ದಾಖಲಾಗಿಲ್ಲ.","keyOrdinal": "ಕೀ #{n}",+ "keyBadge": "ಕೀ #{n}","attemptTimingHint": "ವಿನಂತಿಯ ಪ್ರಾರಂಭದಿಂದ ಆಫ್ಸೆಟ್ ಪ್ರಾರಂಭಿಸಿ · ಪ್ರಯತ್ನದ ಅವಧಿ","requestedModel": "ವಿನಂತಿಸಿದ ಮಾದರಿ","ttft": "TTFT",diff --git a/client/src/i18n/locales/ko.json b/client/src/i18n/locales/ko.jsonindex e9a6aca3..e28526de 100644--- a/client/src/i18n/locales/ko.json+++ b/client/src/i18n/locales/ko.json@@ -690,6 +690,7 @@"failoverLadderHint": "이 요청이 폴백 체인을 순서대로 통과한 각 홉입니다.","noAttemptTrace": "이 요청에 대한 시도 추적이 기록되지 않았습니다.","keyOrdinal": "키 #{n}",+ "keyBadge": "키 #{n}","attemptTimingHint": "요청 시작부터 시작 오프셋 · 시도 기간","requestedModel": "요청 모델","ttft": "TTFT",diff --git a/client/src/i18n/locales/lt.json b/client/src/i18n/locales/lt.jsonindex 9c4fe5b7..2e36b698 100644--- a/client/src/i18n/locales/lt.json+++ b/client/src/i18n/locales/lt.json@@ -690,6 +690,7 @@"failoverLadderHint": "Kiekvienas šio prašymo šuolis per atsarginę grandinę, iš eilės.","noAttemptTrace": "Šiam prašymui nebuvo užfiksuota jokių bandymų.","keyOrdinal": "Pagrindinė #{n}",+ "keyBadge": "Raktas #{n}","attemptTimingHint": "Pradėti poslinkį nuo užklausos pradžios · Bandymo trukmė","requestedModel": "Prašytas modelis","ttft": "TTFT",diff --git a/client/src/i18n/locales/ml.json b/client/src/i18n/locales/ml.jsonindex 0962e643..e13862d4 100644--- a/client/src/i18n/locales/ml.json+++ b/client/src/i18n/locales/ml.json@@ -690,6 +690,7 @@"failoverLadderHint": "ഓരോ ഹോപ്പും ഈ അഭ്യർത്ഥന ഫോൾബാക്ക് ചെയിൻ വഴി സ്വീകരിച്ചു.","noAttemptTrace": "ഈ അഭ്യർത്ഥനയ്ക്കായി ഒരു ശ്രമവും രേഖപ്പെടുത്തിയിട്ടില്ല.","keyOrdinal": "കീ #{n}",+ "keyBadge": "കീ #{n}","attemptTimingHint": "അഭ്യർത്ഥന ആരംഭത്തിൽ നിന്ന് ഓഫ്സെറ്റ് ആരംഭിക്കുക · ശ്രമ കാലയളവ്","requestedModel": "അഭ്യർത്ഥിച്ച മോഡൽ","ttft": "TTFT",diff --git a/client/src/i18n/locales/mr.json b/client/src/i18n/locales/mr.jsonindex 79422257..7f558ba9 100644--- a/client/src/i18n/locales/mr.json+++ b/client/src/i18n/locales/mr.json@@ -690,6 +690,7 @@"failoverLadderHint": "प्रत्येक हॉप ही विनंती क्रमाने फॉलबॅक साखळीतून घेतली.","noAttemptTrace": "या विनंतीसाठी कोणताही प्रयत्न ट्रेस रेकॉर्ड केला गेला नाही.","keyOrdinal": "की #{n}",+ "keyBadge": "की #{n}","attemptTimingHint": "विनंती पासून ऑफसेट सुरू करा प्रारंभ · प्रयत्न कालावधी","requestedModel": "मॉडेलची विनंती केली","ttft": "TTFT",diff --git a/client/src/i18n/locales/ms.json b/client/src/i18n/locales/ms.jsonindex a4465697..ed13cda3 100644--- a/client/src/i18n/locales/ms.json+++ b/client/src/i18n/locales/ms.json@@ -690,6 +690,7 @@"failoverLadderHint": "Setiap lompatan permintaan ini melalui rantai sandaran, mengikut urutan.","noAttemptTrace": "Tiada cubaan jejak direkodkan untuk permintaan ini.","keyOrdinal": "#{n} utama",+ "keyBadge": "Kunci #{n}","attemptTimingHint": "Offset mula dari permintaan mula · tempoh cubaan","requestedModel": "Model yang diminta","ttft": "TTFT",diff --git a/client/src/i18n/locales/my.json b/client/src/i18n/locales/my.jsonindex 00ef3319..f769cdef 100644--- a/client/src/i18n/locales/my.json+++ b/client/src/i18n/locales/my.json@@ -690,6 +690,7 @@"failoverLadderHint": "ဒီတောင်းဆိုမှုက fallback chain တစ်ခုချင်းစီကို အစဉ်လိုက် လိုက်လျောညီထွေဖြစ်အောင် လုပ်ဆောင်ခဲ့ပါတယ်။","noAttemptTrace": "ဤတောင်းဆိုမှုအတွက် ကြိုးစားမှု လမ်းကြောင်း မမှတ်တမ်းတင်ခဲ့ပါ။","keyOrdinal": "သော့ #{n}",+ "keyBadge": "သော့ #{n}","attemptTimingHint": "တောင်းဆိုမှုစတင်ချိန်မှ စတင်အော့ဖ်ဆက် · ကြိုးစားမှုကြာချိန်","requestedModel": "တောင်းဆိုထားသော မော်ဒယ်","ttft": "TTFT",diff --git a/client/src/i18n/locales/ne.json b/client/src/i18n/locales/ne.jsonindex 1fcf26de..abd29a82 100644--- a/client/src/i18n/locales/ne.json+++ b/client/src/i18n/locales/ne.json@@ -690,6 +690,7 @@"failoverLadderHint": "प्रत्येक हप यस अनुरोधले फलब्याक चेनको माध्यमबाट क्रममा।","noAttemptTrace": "यो अनुरोधका लागि कुनै प्रयास पदचिन्ह रेकर्ड गरिएको थिएन ।","keyOrdinal": "कुञ्जी #{n}",+ "keyBadge": "कुञ्जी #{n}","attemptTimingHint": "अनुरोध सुरुबाट अफसेट सुरु गर्नुहोस् · प्रयास अवधि","requestedModel": "अनुरोध गरिएको नमूना","ttft": "TTFT",diff --git a/client/src/i18n/locales/nl.json b/client/src/i18n/locales/nl.jsonindex 199f86a3..5a880266 100644--- a/client/src/i18n/locales/nl.json+++ b/client/src/i18n/locales/nl.json@@ -690,6 +690,7 @@"failoverLadderHint": "Elke sprong die dit verzoek volgde door de terugvalketen, in volgorde.","noAttemptTrace": "Er is geen poging tot trace geregistreerd voor dit verzoek.","keyOrdinal": "Belangrijke #{n}",+ "keyBadge": "Sleutel #{n}","attemptTimingHint": "Start offset van verzoek start · Duur van de poging","requestedModel": "Aangevraagd model","ttft": "TTFT",diff --git a/client/src/i18n/locales/no.json b/client/src/i18n/locales/no.jsonindex d71e3819..13abedd1 100644--- a/client/src/i18n/locales/no.json+++ b/client/src/i18n/locales/no.json@@ -690,6 +690,7 @@"failoverLadderHint": "Hvert hopp denne forespørselen tok gjennom fallback-kjeden, i rekkefølge.","noAttemptTrace": "Ingen forsøksspor ble registrert for denne forespørselen.","keyOrdinal": "Nøkkel #{n}",+ "keyBadge": "Nøkkel #{n}","attemptTimingHint": "Startforskyvning fra forespørselsstart · Forsøksvarighet","requestedModel": "Etterspurt modell","ttft": "TTFT",diff --git a/client/src/i18n/locales/or.json b/client/src/i18n/locales/or.jsonindex a381ca12..91d1c9a7 100644--- a/client/src/i18n/locales/or.json+++ b/client/src/i18n/locales/or.json@@ -690,6 +690,7 @@"failoverLadderHint": "ପ୍ରତ୍ୟେକ ହପ୍ ଏହି ଅନୁରୋଧ କ୍ରମରେ ଫଲବ୍ୟାକ୍ ଶୃଙ୍ଖଳା ଦେଇ ନେଇଥିଲା ।","noAttemptTrace": "ଏହି ଅନୁରୋଧ ପାଇଁ କୌଣସି ଉଦ୍ୟମ ଟ୍ରେସ୍ ରେକର୍ଡ୍ କରାଯାଇ ନାହିଁ।","keyOrdinal": "ମୁଖ୍ୟ #{n}",+ "keyBadge": "ଚାବି #{n}","attemptTimingHint": "ଅନୁରୋଧ ଆରମ୍ଭରୁ ଅଫସେଟ୍ ଆରମ୍ଭ କରନ୍ତୁ · ଉଦ୍ୟମ ଅବଧି","requestedModel": "ଅନୁରୋଧିତ ମଡେଲ୍","ttft": "TTFT",diff --git a/client/src/i18n/locales/pa.json b/client/src/i18n/locales/pa.jsonindex fcd50cec..7ee92fb5 100644--- a/client/src/i18n/locales/pa.json+++ b/client/src/i18n/locales/pa.json@@ -690,6 +690,7 @@"failoverLadderHint": "ਹਰ ਹੌਪ ਇਸ ਬੇਨਤੀ ਨੂੰ ਕ੍ਰਮ ਵਿੱਚ, ਫਾਲਬੈਕ ਚੇਨ ਦੁਆਰਾ ਲਿਆ ਗਿਆ।","noAttemptTrace": "ਇਸ ਬੇਨਤੀ ਲਈ ਕੋਈ ਕੋਸ਼ਿਸ਼ ਟਰੇਸ ਰਿਕਾਰਡ ਨਹੀਂ ਕੀਤਾ ਗਿਆ ਸੀ।","keyOrdinal": "ਕੁੰਜੀ #{n}",+ "keyBadge": "ਕੁੰਜੀ #{n}","attemptTimingHint": "ਬੇਨਤੀ ਸ਼ੁਰੂ ਤੋਂ ਔਫਸੈੱਟ ਸ਼ੁਰੂ ਕਰੋ · ਕੋਸ਼ਿਸ਼ ਦੀ ਮਿਆਦ","requestedModel": "ਮਾਡਲ ਦੀ ਮੰਗ ਕੀਤੀ","ttft": "TTFT",diff --git a/client/src/i18n/locales/pl.json b/client/src/i18n/locales/pl.jsonindex 83c389da..0f123c20 100644--- a/client/src/i18n/locales/pl.json+++ b/client/src/i18n/locales/pl.json@@ -690,6 +690,7 @@"failoverLadderHint": "Przy każdym przeskoku to żądanie przechodziło w kolejności przez łańcuch awaryjny.","noAttemptTrace": "Dla tego żądania nie zarejestrowano żadnego śledzenia prób.","keyOrdinal": "klucz #{n}",+ "keyBadge": "Klucz #{n}","attemptTimingHint": "Przesunięcie początku od początku żądania · czas trwania próby","requestedModel": "Żądany model","ttft": "TTFT",diff --git a/client/src/i18n/locales/pt-BR.json b/client/src/i18n/locales/pt-BR.jsonindex 8ea6e845..56a2b190 100644--- a/client/src/i18n/locales/pt-BR.json+++ b/client/src/i18n/locales/pt-BR.json@@ -690,6 +690,7 @@"failoverLadderHint": "Cada salto que esta requisição deu pela cadeia de fallback, em ordem.","noAttemptTrace": "Nenhum rastro de tentativas foi registrado para esta requisição.","keyOrdinal": "chave #{n}",+ "keyBadge": "Chave #{n}","attemptTimingHint": "Deslocamento desde o início da requisição · duração da tentativa","requestedModel": "Modelo solicitado","ttft": "TTFT",diff --git a/client/src/i18n/locales/pt-PT.json b/client/src/i18n/locales/pt-PT.jsonindex de459883..8c8cf81b 100644--- a/client/src/i18n/locales/pt-PT.json+++ b/client/src/i18n/locales/pt-PT.json@@ -690,6 +690,7 @@"failoverLadderHint": "Cada salto que este pedido percorria a cadeia de recurso, por ordem.","noAttemptTrace": "Não foi registada qualquer tentativa de rastreio para este pedido.","keyOrdinal": "#{n} chave",+ "keyBadge": "Chave #{n}","attemptTimingHint": "Início deslocado a partir do início do pedido · Duração da tentativa","requestedModel": "Modelo solicitado","ttft": "TTFT",diff --git a/client/src/i18n/locales/ro.json b/client/src/i18n/locales/ro.jsonindex 491fe8e0..633ca75c 100644--- a/client/src/i18n/locales/ro.json+++ b/client/src/i18n/locales/ro.json@@ -690,6 +690,7 @@"failoverLadderHint": "Fiecare salt pe care această cerere îl făcea prin lanțul de rezervă, în ordine.","noAttemptTrace": "Nu a fost înregistrată nicio încercare de urmărire pentru această cerere.","keyOrdinal": "#{n} cheie",+ "keyBadge": "Cheia #{n}","attemptTimingHint": "Start offset față de începutul cererii · Durata încercării","requestedModel": "Modelul cerut","ttft": "TTFT",diff --git a/client/src/i18n/locales/ru.json b/client/src/i18n/locales/ru.jsonindex 111d736e..1993cc50 100644--- a/client/src/i18n/locales/ru.json+++ b/client/src/i18n/locales/ru.json@@ -690,6 +690,7 @@"failoverLadderHint": "Каждый переход, который этот запрос проходил через резервную цепочку, по порядку.","noAttemptTrace": "Для этого запроса не было записано трассировки попыток.","keyOrdinal": "ключ #{n}",+ "keyBadge": "Ключ #{n}","attemptTimingHint": "Начальное смещение от начала запроса · продолжительность попытки","requestedModel": "Запрошенная модель","ttft": "TTFT",diff --git a/client/src/i18n/locales/si.json b/client/src/i18n/locales/si.jsonindex 9ce6354a..b681b326 100644--- a/client/src/i18n/locales/si.json+++ b/client/src/i18n/locales/si.json@@ -690,6 +690,7 @@"failoverLadderHint": "සෑම හොප් එකක්ම මෙම ඉල්ලීම අනුපිළිවෙලින් පසුබැසීම දාමය හරහා ගෙන ගියේය.","noAttemptTrace": "මෙම ඉල්ලීම සඳහා උත්සාහ හෝඩුවාවක් වාර්තා කර නොමැත.","keyOrdinal": "යතුර #{n}",+ "keyBadge": "යතුර #{n}","attemptTimingHint": "ඉල්ලීම ආරම්භයේ සිට ඕෆ්සෙට් ආරම්භ කරන්න · උත්සාහ කාලය","requestedModel": "ඉල්ලූ ආකෘතිය","ttft": "TTFT",diff --git a/client/src/i18n/locales/sk.json b/client/src/i18n/locales/sk.jsonindex a4ec6c3a..2e185e50 100644--- a/client/src/i18n/locales/sk.json+++ b/client/src/i18n/locales/sk.json@@ -690,6 +690,7 @@"failoverLadderHint": "Každý skok tejto požiadavky prešiel záložným reťazcom, v poradí.","noAttemptTrace": "Pre túto žiadosť nebol zaznamenaný žiadny pokus o vystopovanie.","keyOrdinal": "Kľúčové #{n}",+ "keyBadge": "Kľúč #{n}","attemptTimingHint": "Začať offset od začiatku požiadavky · Trvanie pokusu","requestedModel": "Požadovaný model","ttft": "TTFT",diff --git a/client/src/i18n/locales/sr.json b/client/src/i18n/locales/sr.jsonindex 358fa9ee..95ab3142 100644--- a/client/src/i18n/locales/sr.json+++ b/client/src/i18n/locales/sr.json@@ -690,6 +690,7 @@"failoverLadderHint": "Сваки скок који је овај захтев прошао кроз резервни ланац, по реду.","noAttemptTrace": "Није забележен траг покушаја за овај захтев.","keyOrdinal": "кључ #{n}",+ "keyBadge": "Кључ #{n}","attemptTimingHint": "Почетак одступања од почетка захтева · трајање покушаја","requestedModel": "Тражени модел","ttft": "TTFT",diff --git a/client/src/i18n/locales/sv.json b/client/src/i18n/locales/sv.jsonindex 57348f9b..856487da 100644--- a/client/src/i18n/locales/sv.json+++ b/client/src/i18n/locales/sv.json@@ -690,6 +690,7 @@"failoverLadderHint": "Varje hopp denna begäran tog genom reservkedjan, i ordning.","noAttemptTrace": "Ingen försöksspårning registrerades för denna förfrågan.","keyOrdinal": "Nyckel#{n}",+ "keyBadge": "Nyckel #{n}","attemptTimingHint": "Startförskjutning från begäran start · Försökslängd","requestedModel": "Efterfrågad modell","ttft": "TTFT",diff --git a/client/src/i18n/locales/sw.json b/client/src/i18n/locales/sw.jsonindex 7fdaba59..8aa8b980 100644--- a/client/src/i18n/locales/sw.json+++ b/client/src/i18n/locales/sw.json@@ -690,6 +690,7 @@"failoverLadderHint": "Kila ruka ombi hili lilipitia msururu wa kurudi nyuma, kwa mpangilio.","noAttemptTrace": "Hakuna ufuatiliaji wa jaribio uliorekodiwa kwa ombi hili.","keyOrdinal": "ufunguo #{n}",+ "keyBadge": "Ufunguo #{n}","attemptTimingHint": "Anza kukabiliana na ombi kuanza · muda wa jaribio","requestedModel": "Umeomba muundo","ttft": "TTFT",diff --git a/client/src/i18n/locales/ta.json b/client/src/i18n/locales/ta.jsonindex 942f0b99..2240aa68 100644--- a/client/src/i18n/locales/ta.json+++ b/client/src/i18n/locales/ta.json@@ -690,6 +690,7 @@"failoverLadderHint": "ஒவ்வொரு ஹாப் இந்தக் கோரிக்கையும் வரிசையாக, ஃபால்பேக் செயின் மூலம் எடுக்கப்பட்டது.","noAttemptTrace": "இந்த கோரிக்கைக்கான முயற்சி தடயங்கள் எதுவும் பதிவு செய்யப்படவில்லை.","keyOrdinal": "விசை #{n}",+ "keyBadge": "விசை #{n}","attemptTimingHint": "கோரிக்கை தொடக்கத்திலிருந்து ஆஃப்செட்டைத் தொடங்கு · முயற்சி காலம்","requestedModel": "கோரப்பட்ட மாதிரி","ttft": "TTFT",diff --git a/client/src/i18n/locales/te.json b/client/src/i18n/locales/te.jsonindex 3bbcf40a..cb67d360 100644--- a/client/src/i18n/locales/te.json+++ b/client/src/i18n/locales/te.json@@ -690,6 +690,7 @@"failoverLadderHint": "ప్రతి హాప్ ఈ అభ్యర్థన ఫాల్బ్యాక్ చైన్ ద్వారా క్రమక్రమంగా తీసుకోబడింది.","noAttemptTrace": "ఈ అభ్యర్థన కోసం ఎటువంటి ప్రయత్నం ట్రేస్ నమోదు చేయబడలేదు.","keyOrdinal": "కీ #{n}",+ "keyBadge": "కీ #{n}","attemptTimingHint": "అభ్యర్థన ప్రారంభం నుండి ఆఫ్సెట్ ప్రారంభించండి · ప్రయత్న వ్యవధి","requestedModel": "అభ్యర్థించిన మోడల్","ttft": "TTFT",diff --git a/client/src/i18n/locales/th.json b/client/src/i18n/locales/th.jsonindex 3be771b7..49cb609b 100644--- a/client/src/i18n/locales/th.json+++ b/client/src/i18n/locales/th.json@@ -690,6 +690,7 @@"failoverLadderHint": "แต่ละฮอปคำขอนี้ใช้ผ่านเชนทางเลือกตามลำดับ","noAttemptTrace": "ไม่มีการบันทึกความพยายามในการติดตามสำหรับคำขอนี้","keyOrdinal": "กุญแจ #{n}",+ "keyBadge": "คีย์ #{n}","attemptTimingHint": "เริ่มต้นออฟเซ็ตจากคำขอเริ่มต้น · ระยะเวลาความพยายาม","requestedModel": "รุ่นที่ขอ","ttft": "TTFT",diff --git a/client/src/i18n/locales/tl.json b/client/src/i18n/locales/tl.jsonindex 96515794..41e6a60c 100644--- a/client/src/i18n/locales/tl.json+++ b/client/src/i18n/locales/tl.json@@ -690,6 +690,7 @@"failoverLadderHint": "Bawat talon-talon na ito ay dumaan sa fallback chain, sunod-sunod.","noAttemptTrace": "Walang naitala na pagsubok para sa kahilingang ito.","keyOrdinal": "pangunahing #{n}",+ "keyBadge": "Susi #{n}","attemptTimingHint": "Start offset mula sa request start · tagal ng pagtatangka","requestedModel": "Hinihiling na modelo","ttft": "TTFT",diff --git a/client/src/i18n/locales/tr.json b/client/src/i18n/locales/tr.jsonindex a55c7450..77f44ba5 100644--- a/client/src/i18n/locales/tr.json+++ b/client/src/i18n/locales/tr.json@@ -690,6 +690,7 @@"failoverLadderHint": "Bu isteğin her atlama sırası, geri dönüş zincirinden geçti.","noAttemptTrace": "Bu istek için herhangi bir girişim izi kaydedilmedi.","keyOrdinal": "anahtar #{n}",+ "keyBadge": "Anahtar #{n}","attemptTimingHint": "İstek başlangıcından itibaren başlangıç dengelemesi · deneme süresi","requestedModel": "İstenilen model","ttft": "TTFT",diff --git a/client/src/i18n/locales/uk.json b/client/src/i18n/locales/uk.jsonindex 7d84dc6c..c9fbb605 100644--- a/client/src/i18n/locales/uk.json+++ b/client/src/i18n/locales/uk.json@@ -690,6 +690,7 @@"failoverLadderHint": "Кожен стрибок, який цей запит проходив через резервний ланцюжок, по порядку.","noAttemptTrace": "Для цього запиту не було зафіксовано трасування спроб.","keyOrdinal": "ключ #{n}",+ "keyBadge": "Ключ #{n}","attemptTimingHint": "Початковий зсув від початку запиту · тривалість спроби","requestedModel": "Запитана модель","ttft": "TTFT",diff --git a/client/src/i18n/locales/ur.json b/client/src/i18n/locales/ur.jsonindex 0ad37727..26b63b96 100644--- a/client/src/i18n/locales/ur.json+++ b/client/src/i18n/locales/ur.json@@ -690,6 +690,7 @@"failoverLadderHint": "ہر ہاپ اس درخواست کو ترتیب سے فال بیک چین کے ذریعے لیا گیا۔","noAttemptTrace": "اس درخواست کے لیے کوئی کوشش کا سراغ نہیں ریکارڈ کیا گیا۔","keyOrdinal": "کلید #{n}",+ "keyBadge": "کلید #{n}","attemptTimingHint": "درخواست کے آغاز سے آفسیٹ شروع کریں · کوشش کی مدت","requestedModel": "ماڈل کی درخواست کی۔","ttft": "TTFT",diff --git a/client/src/i18n/locales/uz.json b/client/src/i18n/locales/uz.jsonindex 5216de71..ccac34fa 100644--- a/client/src/i18n/locales/uz.json+++ b/client/src/i18n/locales/uz.json@@ -690,6 +690,7 @@"failoverLadderHint": "Bu so'rovning har bir sakrashi ketma-ket ravishda zaxira zanjiri orqali o'tdi.","noAttemptTrace": "Bu soʻrov uchun hech qanday urinish kuzatilmadi.","keyOrdinal": "kalit #{n}",+ "keyBadge": "Kalit #{n}","attemptTimingHint": "So'rov boshlanishidan boshlab ofsetni boshlash · urinish davomiyligi","requestedModel": "So'ralgan model","ttft": "TTFT",diff --git a/client/src/i18n/locales/vi.json b/client/src/i18n/locales/vi.jsonindex ab1e4fb8..92f074ae 100644--- a/client/src/i18n/locales/vi.json+++ b/client/src/i18n/locales/vi.json@@ -690,6 +690,7 @@"failoverLadderHint": "Mỗi bước nhảy mà yêu cầu này thực hiện qua chuỗi dự phòng theo thứ tự.","noAttemptTrace": "Không có dấu vết nỗ lực nào được ghi lại cho yêu cầu này.","keyOrdinal": "phím #{n}",+ "keyBadge": "Khóa #{n}","attemptTimingHint": "Bắt đầu bù đắp từ khi bắt đầu yêu cầu · thời gian thử","requestedModel": "Mô hình được yêu cầu","ttft": "TTFT",diff --git a/client/src/i18n/locales/yo.json b/client/src/i18n/locales/yo.jsonindex c8918947..8469d5e4 100644--- a/client/src/i18n/locales/yo.json+++ b/client/src/i18n/locales/yo.json@@ -690,6 +690,7 @@"failoverLadderHint": "Kọọkan hop ibeere yi gba nipasẹ awọn fallback pq, ni ibere.","noAttemptTrace": "Ko si igbiyanju wa ti o gbasilẹ fun ibeere yii.","keyOrdinal": "bọtini #{n}",+ "keyBadge": "Bọtini #{n}","attemptTimingHint": "Bẹrẹ aiṣedeede lati ibere ibere · Iye akoko igbiyanju","requestedModel": "Awoṣe ti a beere","ttft": "TTFT",diff --git a/client/src/i18n/locales/zh-CN.json b/client/src/i18n/locales/zh-CN.jsonindex f5416767..79801ea4 100644--- a/client/src/i18n/locales/zh-CN.json+++ b/client/src/i18n/locales/zh-CN.json@@ -690,6 +690,7 @@"failoverLadderHint": "该请求沿回退链经过的每一跳,按顺序排列。","noAttemptTrace": "此请求未记录尝试轨迹。","keyOrdinal": "密钥 #{n}",+ "keyBadge": "密钥 #{n}","attemptTimingHint": "自请求开始的偏移 · 尝试耗时","requestedModel": "请求的模型","ttft": "首个词元用时",diff --git a/client/src/i18n/locales/zh-TW.json b/client/src/i18n/locales/zh-TW.jsonindex 1670d573..288301b1 100644--- a/client/src/i18n/locales/zh-TW.json+++ b/client/src/i18n/locales/zh-TW.json@@ -690,6 +690,7 @@"failoverLadderHint": "該請求沿備援鏈經過的每一跳,按順序排列。","noAttemptTrace": "此請求未記錄嘗試軌跡。","keyOrdinal": "金鑰 #{n}",+ "keyBadge": "金鑰 #{n}","attemptTimingHint": "自請求開始的偏移 · 嘗試耗時","requestedModel": "請求的模型","ttft": "首字延遲",diff --git a/client/src/pages/AnalyticsPage.tsx b/client/src/pages/AnalyticsPage.tsxindex 57a55e85..085a0a5f 100644--- a/client/src/pages/AnalyticsPage.tsx+++ b/client/src/pages/AnalyticsPage.tsx@@ -199,6 +199,10 @@ interface RequestAttempt {platform: stringmodelId: stringkeyOrdinal: number+ // Operator-facing key label captured at attempt time (#869); null when the+ // key had no label. Shown in a tooltip on the key badge so a multi-key+ // provider's ladder says WHICH key was tried, not just key1/key2.+ keyLabel: string | nulloutcome: stringstartOffsetMs: numberdurationMs: number@@ -392,7 +396,9 @@ function RequestDetailDialog({ requestId, onClose }: { requestId: number | null;<PlatformDot platform={a.platform} /><span className="font-medium">{a.platform}</span><span className="text-muted-foreground truncate" title={a.modelId}>{a.modelId}</span>- <Badge variant="outline">{t('analytics.keyOrdinal', { n: a.keyOrdinal })}</Badge>+ <HoverTooltip text={a.keyLabel ? `${t('analytics.keyBadge', { n: a.keyOrdinal })} · ${a.keyLabel}` : t('analytics.keyBadge', { n: a.keyOrdinal })}>+ <Badge variant="outline">{t('analytics.keyOrdinal', { n: a.keyOrdinal })}</Badge>+ </HoverTooltip>{/* client_abort is the caller's doing, not a hop failure. */}<Badge variant={a.outcome === 'ok' || a.outcome === 'committed' ? 'secondary' : a.outcome === 'client_abort' ? 'outline' : 'destructive'}>{a.outcome}diff --git a/server/src/__tests__/db/migrate/roundtrip.test.ts b/server/src/__tests__/db/migrate/roundtrip.test.tsindex 37c32a2a..2dd54496 100644--- a/server/src/__tests__/db/migrate/roundtrip.test.ts+++ b/server/src/__tests__/db/migrate/roundtrip.test.ts@@ -30,6 +30,7 @@ const PLAYGROUND_CONVERSATIONS_FILENAME = '20260820_000001_playground_conversaticonst CUSTOM_MODEL_TOMBSTONES_FILENAME = '20260819_000001_custom_model_tombstones.ts';const SERVER_LOGS_FILENAME = '20260823_000001_server_logs.ts';const BACKUPS_TABLE_FILENAME = '20260823_000002_backups_table.ts';+const ATTEMPT_KEY_LABEL_FILENAME = '20260823_000003_attempt_key_label.ts';interface SchemaRow {type: string;@@ -106,6 +107,7 @@ describe('migration round trip', () => {PLAYGROUND_CONVERSATIONS_FILENAME,SERVER_LOGS_FILENAME,BACKUPS_TABLE_FILENAME,+ ATTEMPT_KEY_LABEL_FILENAME,]);} finally {db.close();diff --git a/server/src/__tests__/lib/request-attempts.test.ts b/server/src/__tests__/lib/request-attempts.test.tsindex 5a668929..d02f8279 100644--- a/server/src/__tests__/lib/request-attempts.test.ts+++ b/server/src/__tests__/lib/request-attempts.test.ts@@ -25,7 +25,7 @@ function fakeRoute(overrides: Partial<RouteResult> = {}): RouteResult {const n = ++keySeq;return {provider: {} as any, modelId: 'fake-model', modelDbId: 787000 + n, apiKey: 'k',- keyId: n, platform: 'fake', displayName: 'Fake Model',+ keyId: n, keyLabel: null, platform: 'fake', displayName: 'Fake Model',rpdLimit: null, tpdLimit: null,...overrides,};@@ -51,6 +51,7 @@ interface AttemptRow {platform: string;model_id: string;key_ordinal: number;+ key_label: string | null;outcome: string;start_offset_ms: number;duration_ms: number;@@ -59,7 +60,7 @@ interface AttemptRow {function allAttempts(): AttemptRow[] {return getDb().prepare(- 'SELECT request_id, ordinal, platform, model_id, key_ordinal, outcome, start_offset_ms, duration_ms, error_summary FROM request_attempts ORDER BY ordinal',+ 'SELECT request_id, ordinal, platform, model_id, key_ordinal, key_label, outcome, start_offset_ms, duration_ms, error_summary FROM request_attempts ORDER BY ordinal',).all() as AttemptRow[];}@@ -127,6 +128,36 @@ describe('per-attempt routing traces', () => {}});+ it('snapshots the operator-facing key label per attempt, and leaves it null for unlabeled keys (#869)', async () => {+ const routes = [+ fakeRoute({ platform: 'groq', modelId: 'llama-x', keyLabel: 'work laptop' }),+ fakeRoute({ platform: 'groq', modelId: 'llama-x', keyLabel: null }),+ fakeRoute({ platform: 'cerebras', modelId: 'qwen-z', keyLabel: 'billing account' }),+ ];++ await runFallbackLoop(hooksSkeleton({+ route: (attempt) => routes[Math.min(attempt, routes.length - 1)],+ dispatch: async (route, attempt) => {+ if (attempt < 2) throw Object.assign(new Error('429 Too Many Requests'), { status: 429 });+ logRequest(route.platform, route.modelId, route.keyId, 'success', 10, 5, 42, null);+ return 'done';+ },+ logFailure: (route, err) =>+ logRequest(route.platform, route.modelId, route.keyId, 'error', 10, 0, 5, err.message),+ }));++ const rows = allAttempts();+ expect(rows.map(r => r.key_label)).toEqual(['work laptop', null, 'billing account']);+ // The label is the operator's own name for the key, never the internal key+ // id and never the credential.+ const keyIds = routes.map(r => String(r.keyId));+ for (const r of rows) {+ if (r.key_label === null) continue;+ expect(keyIds).not.toContain(r.key_label);+ expect(r.key_label).not.toBe(routes[0].apiKey);+ }+ });+it('persists a redacted, capped error_summary per failed attempt and null for the successful one', async () => {const longTail = ' then the provider rambled on'.repeat(20);await runFallbackLoop(hooksSkeleton({diff --git a/server/src/__tests__/routes/analytics-request-attempts.test.ts b/server/src/__tests__/routes/analytics-request-attempts.test.tsindex c8cce930..a5afdae4 100644--- a/server/src/__tests__/routes/analytics-request-attempts.test.ts+++ b/server/src/__tests__/routes/analytics-request-attempts.test.ts@@ -33,11 +33,11 @@ function insertRequest(status: string, createdAt: string): number {return Number(insert.lastInsertRowid);}-function insertAttempt(requestId: number, ordinal: number, platform: string, modelId: string, keyOrdinal: number, outcome: string, startOffsetMs: number, durationMs: number, errorSummary: string | null = null) {+function insertAttempt(requestId: number, ordinal: number, platform: string, modelId: string, keyOrdinal: number, outcome: string, startOffsetMs: number, durationMs: number, errorSummary: string | null = null, keyLabel: string | null = null) {getDb().prepare(`- INSERT INTO request_attempts (request_id, ordinal, platform, model_id, key_ordinal, outcome, start_offset_ms, duration_ms, error_summary)- VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)- `).run(requestId, ordinal, platform, modelId, keyOrdinal, outcome, startOffsetMs, durationMs, errorSummary);+ INSERT INTO request_attempts (request_id, ordinal, platform, model_id, key_ordinal, key_label, outcome, start_offset_ms, duration_ms, error_summary)+ VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)+ `).run(requestId, ordinal, platform, modelId, keyOrdinal, keyLabel, outcome, startOffsetMs, durationMs, errorSummary);}function recentSql(hour: number): string {@@ -89,12 +89,26 @@ describe('per-attempt traces in the analytics requests API', () => {latencyMs: 1234,});expect(body.attempts).toEqual([- { ordinal: 0, platform: 'groq', modelId: 'llama-x', keyOrdinal: 1, outcome: 'rate_limited', startOffsetMs: 0, durationMs: 210, errorSummary: '429 rate limit reached, retry in 7m12s' },- { ordinal: 1, platform: 'google', modelId: 'gemini-y', keyOrdinal: 2, outcome: 'timeout', startOffsetMs: 215, durationMs: 10000, errorSummary: 'upstream timeout after 10000ms' },- { ordinal: 2, platform: 'cerebras', modelId: 'qwen-z', keyOrdinal: 3, outcome: 'ok', startOffsetMs: 10220, durationMs: 900, errorSummary: null },+ { ordinal: 0, platform: 'groq', modelId: 'llama-x', keyOrdinal: 1, keyLabel: null, outcome: 'rate_limited', startOffsetMs: 0, durationMs: 210, errorSummary: '429 rate limit reached, retry in 7m12s' },+ { ordinal: 1, platform: 'google', modelId: 'gemini-y', keyOrdinal: 2, keyLabel: null, outcome: 'timeout', startOffsetMs: 215, durationMs: 10000, errorSummary: 'upstream timeout after 10000ms' },+ { ordinal: 2, platform: 'cerebras', modelId: 'qwen-z', keyOrdinal: 3, keyLabel: null, outcome: 'ok', startOffsetMs: 10220, durationMs: 900, errorSummary: null },]);});+ it('returns the snapshotted key label per attempt, null when the key was unlabeled (#869)', async () => {+ const id = insertRequest('success', recentSql(12));+ insertAttempt(id, 0, 'groq', 'llama-x', 1, 'rate_limited', 0, 210, '429 over quota', 'work laptop');+ insertAttempt(id, 1, 'groq', 'llama-x', 2, 'ok', 215, 900, null, null);++ const { status, body } = await request(app, `/api/analytics/requests/${id}`);+ expect(status).toBe(200);+ expect(body.attempts.map((a: any) => a.keyLabel)).toEqual(['work laptop', null]);+ // The ordinal still anonymizes the rotation; the label only names the row.+ expect(body.attempts.map((a: any) => a.keyOrdinal)).toEqual([1, 2]);+ // Nothing key-shaped leaks alongside it.+ expect(JSON.stringify(body)).not.toContain('keyId');+ });+it('returns an empty attempts array for a row without children, and 404/400 for missing/invalid ids', async () => {const id = insertRequest('error', recentSql(13));diff --git a/server/src/db/migrate/defaults.ts b/server/src/db/migrate/defaults.tsindex 5c493fa0..fafda674 100644--- a/server/src/db/migrate/defaults.ts+++ b/server/src/db/migrate/defaults.ts@@ -25,6 +25,7 @@ import * as playgroundConversations from '../migrations/20260820_000001_playgrouimport * as customModelTombstones from '../migrations/20260819_000001_custom_model_tombstones.js';import * as serverLogs from '../migrations/20260823_000001_server_logs.js';import * as backupsTable from '../migrations/20260823_000002_backups_table.js';+import * as attemptKeyLabel from '../migrations/20260823_000003_attempt_key_label.js';export interface MigrationModule {up(db: Db): void;@@ -62,6 +63,7 @@ export const PLAYGROUND_CONVERSATIONS_FILENAME = '20260820_000001_playground_conexport const CUSTOM_MODEL_TOMBSTONES_FILENAME = '20260819_000001_custom_model_tombstones.ts';export const SERVER_LOGS_FILENAME = '20260823_000001_server_logs.ts';export const BACKUPS_TABLE_FILENAME = '20260823_000002_backups_table.ts';+export const ATTEMPT_KEY_LABEL_FILENAME = '20260823_000003_attempt_key_label.ts';export const DEFAULT_MIGRATIONS: readonly DefaultMigration[] = [{ filename: LEGACY_BASELINE_FILENAME, module: legacyBaseline },@@ -90,4 +92,5 @@ export const DEFAULT_MIGRATIONS: readonly DefaultMigration[] = [{ filename: PLAYGROUND_CONVERSATIONS_FILENAME, module: playgroundConversations },{ filename: SERVER_LOGS_FILENAME, module: serverLogs },{ filename: BACKUPS_TABLE_FILENAME, module: backupsTable },+ { filename: ATTEMPT_KEY_LABEL_FILENAME, module: attemptKeyLabel },];diff --git a/server/src/db/migrations/20260823_000003_attempt_key_label.ts b/server/src/db/migrations/20260823_000003_attempt_key_label.tsnew file mode 100644index 00000000..ac8b5c55--- /dev/null+++ b/server/src/db/migrations/20260823_000003_attempt_key_label.ts@@ -0,0 +1,30 @@+import type { Db } from '../types.js';++/**+ * Migration: request_attempts.key_label — the operator-facing key identifier+ * for the failover ladder (#869).+ *+ * The ladder shows key1/key2 (key_ordinal), which tells you WHICH position in+ * the request's own rotation was tried but not WHICH key row that was — with+ * several keys per provider, "key2" is meaningless once the list is reordered.+ * This nullable column stores the api_keys.label at attempt time (NULL when the+ * key had no label, or for pre-existing rows where it is unknown).+ *+ * NOT the internal key id, and NOT the encrypted key: a stable, user-assigned+ * label is what the dashboard can show in a tooltip without leaking the id or+ * the credential. The label is a snapshot — if the operator renames the key+ * later, historical attempts keep the label they actually used.+ */+export function up(db: Db): void {+ const columns = db.prepare(`PRAGMA table_info(request_attempts)`).all() as { name: string }[];+ if (!columns.some((c) => c.name === 'key_label')) {+ db.prepare('ALTER TABLE request_attempts ADD COLUMN key_label TEXT').run();+ }+}++export function down(db: Db): void {+ const columns = db.prepare(`PRAGMA table_info(request_attempts)`).all() as { name: string }[];+ if (columns.some((c) => c.name === 'key_label')) {+ db.prepare('ALTER TABLE request_attempts DROP COLUMN key_label').run();+ }+}diff --git a/server/src/lib/attempt-trace.ts b/server/src/lib/attempt-trace.tsindex adcfcfdf..0083f02a 100644--- a/server/src/lib/attempt-trace.ts+++ b/server/src/lib/attempt-trace.ts@@ -34,6 +34,11 @@ export interface AttemptTraceRecord {// Per-request key ordinal (key1, key2…), same anonymization as the// X-Fallback-Trail header — never the internal key id.keyOrdinal: number;+ // Operator-facing key label (api_keys.label) at attempt time (#869). Null+ // when the key had no label — the dashboard shows the ordinal alone then.+ // A snapshot, not a live join: renaming the key later must not rewrite+ // history. Deliberately NOT the internal key id or the key itself.+ keyLabel: string | null;outcome: AttemptOutcome;// Milliseconds from the ladder's start to this attempt's dispatch.startOffsetMs: number;diff --git a/server/src/lib/fallback-loop.ts b/server/src/lib/fallback-loop.tsindex f4f6170d..c4cb2578 100644--- a/server/src/lib/fallback-loop.ts+++ b/server/src/lib/fallback-loop.ts@@ -1097,6 +1097,7 @@ async function runFallbackLoopAttempts(hooks: FallbackHooks, trace: RequestTraceplatform: route.platform,modelId: route.modelId,keyOrdinal: keyOrdinal(route),+ keyLabel: route.keyLabel ?? null,outcome,startOffsetMs: attemptStartedAt - startedAt,durationMs: Date.now() - attemptStartedAt,diff --git a/server/src/lib/request-log.ts b/server/src/lib/request-log.tsindex 74498d4c..06fe8aef 100644--- a/server/src/lib/request-log.ts+++ b/server/src/lib/request-log.ts@@ -129,12 +129,12 @@ export function persistRequestAttempts(trace: RequestTrace): void {try {const db = getDb();const insert = db.prepare(`- INSERT INTO request_attempts (request_id, ordinal, platform, model_id, key_ordinal, outcome, start_offset_ms, duration_ms, error_summary)- VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)+ INSERT INTO request_attempts (request_id, ordinal, platform, model_id, key_ordinal, key_label, outcome, start_offset_ms, duration_ms, error_summary)+ VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)`);const tx = db.transaction(() => {for (const r of trace.records) {- insert.run(trace.lastRequestRowId, r.ordinal, r.platform, r.modelId, r.keyOrdinal, r.outcome, r.startOffsetMs, r.durationMs, r.errorSummary);+ insert.run(trace.lastRequestRowId, r.ordinal, r.platform, r.modelId, r.keyOrdinal, r.keyLabel, r.outcome, r.startOffsetMs, r.durationMs, r.errorSummary);}});tx();diff --git a/server/src/routes/analytics.ts b/server/src/routes/analytics.tsindex 0d3c20b2..63753c48 100644--- a/server/src/routes/analytics.ts+++ b/server/src/routes/analytics.ts@@ -742,7 +742,7 @@ analyticsRouter.get('/requests/:id', (req: Request, res: Response) => {}const attempts = db.prepare(`- SELECT ordinal, platform, model_id, key_ordinal, outcome, start_offset_ms, duration_ms, error_summary+ SELECT ordinal, platform, model_id, key_ordinal, key_label, outcome, start_offset_ms, duration_ms, error_summaryFROM request_attemptsWHERE request_id = ?ORDER BY ordinal ASC@@ -772,6 +772,7 @@ analyticsRouter.get('/requests/:id', (req: Request, res: Response) => {platform: a.platform,modelId: a.model_id,keyOrdinal: a.key_ordinal,+ keyLabel: a.key_label ?? null,outcome: a.outcome,startOffsetMs: a.start_offset_ms,durationMs: a.duration_ms,diff --git a/server/src/services/router.ts b/server/src/services/router.tsindex c263fd9d..c68873fb 100644--- a/server/src/services/router.ts+++ b/server/src/services/router.ts@@ -120,6 +120,7 @@ export function summarizeExhaustion(interface KeyRow {id: number;platform: string;+ label: string | null;encrypted_key: string;iv: string;auth_tag: string;@@ -177,6 +178,13 @@ export interface RouteResult {modelDbId: number;apiKey: string;keyId: number;+ /**+ * The operator-assigned api_keys.label for this key at route time (#869),+ * null when the key is unlabeled (the column defaults to ''). Deliberately+ * the human label, never the key id and never the credential: it is what the+ * failover ladder can show without leaking either.+ */+ keyLabel: string | null;platform: string;displayName: string;/**@@ -1406,6 +1414,7 @@ function selectKeyForModel(entry: ChainRow, estimatedTokens: number, skipKeys?:modelDbId: entry.model_db_id,apiKey: decryptedKey,keyId: key.id,+ keyLabel: key.label || null,// Decrypted once here, at the point the row is already in hand (#590).proxyUrl: decryptProxyUrl(key),platform: entry.platform,