gui: Smart routing says it is not load balancing and where to pick it (Wing8Aqua on X)
Smart sends requests to one account at a time (the soonest to renew) and moves on at 90% or on failure, by design: spending what would be lost and keeping the prompt cache. The hint now says so and names In turn and Least used first for an even spread, in en, zh, zh-TW, ja, de.
This commit is contained in:
@@ -12199,7 +12199,7 @@ function mediaChips(cls, ids, key, p, names) {
|
||||
// renderRouting: spread over keys or accounts and stickiness, staged in
|
||||
// the draft and made with Save (01huadalang on Discord)
|
||||
const ROUTINGS = [
|
||||
["", "Smart", "Of the accounts with quota to spare, the one whose quota renews soonest goes first, since what it has left is lost then; one not started yet renews last, so it waits, and keys go in their order. One at 90% waits until the others can't answer. One out of credit sits out half an hour, one out of quota until it resets, one rate limited as long as the vendor asks, and one that fails a minute, longer each time it fails again."],
|
||||
["", "Smart", "Not load balancing: requests go to one account at a time, the one whose quota renews soonest, since what it has left is lost then; the next takes over when it is at 90% or can't answer. Keys go in their order. To spread requests evenly, pick In turn or Least used first. One out of credit sits out half an hour, one out of quota until it resets, one rate limited as long as the vendor asks, and one that fails a minute, longer each time it fails again."],
|
||||
["order", "In order", "Requests go to the first; the next takes over when the one before runs out of quota, hits a rate limit or fails."],
|
||||
// dzxx0496 on Discord: free accounts one after another, the first not
|
||||
// taking the requests back once it renews (routes.Drain)
|
||||
|
||||
@@ -2172,7 +2172,7 @@ const I18N = {
|
||||
"{agent} stays signed in to the first account": "{agent} 将始终登录首选账号",
|
||||
"magpie moves {agent} to an account with room again": "首选账号额度不足时,会再把 {agent} 切到有余量的账号",
|
||||
"Smart": "智能",
|
||||
"Of the accounts with quota to spare, the one whose quota renews soonest goes first, since what it has left is lost then; one not started yet renews last, so it waits, and keys go in their order. One at 90% waits until the others can't answer. One out of credit sits out half an hour, one out of quota until it resets, one rate limited as long as the vendor asks, and one that fails a minute, longer each time it fails again.": "额度充足的账号中,额度最先重置的先用,因为它剩下的额度到时就作废;还没开始计时的最后才重置,所以排在后面;密钥按顺序。用到 90% 的,等其他都无法响应时才用。欠费的暂停半小时,额度用完的暂停到重置,被限流的按厂商要求暂停,出错的暂停一分钟,再出错则逐次延长。",
|
||||
"Not load balancing: requests go to one account at a time, the one whose quota renews soonest, since what it has left is lost then; the next takes over when it is at 90% or can't answer. Keys go in their order. To spread requests evenly, pick In turn or Least used first. One out of credit sits out half an hour, one out of quota until it resets, one rate limited as long as the vendor asks, and one that fails a minute, longer each time it fails again.": "不是负载均衡:请求一次只给一个账号,即额度最先重置的那个(它剩下的额度到时就作废),它用到 90% 或无法响应时才换下一个;密钥按顺序。要平均分摊,请选“轮流”或“用量少的优先”。欠费的暂停半小时,额度用完的暂停到重置,被限流的按厂商要求暂停,出错的暂停一分钟,再出错则逐次延长。",
|
||||
"{user} is first in the order; {routing} still goes by each account's quota, so the order only settles ties. In order uses the first first.": "{user} 已排在首位;{routing} 仍按各账号的额度挑选,顺序只在条件相同时起作用。想先用完首选账号,请选「按顺序」。",
|
||||
"In order": "按顺序",
|
||||
"Until used up": "用完再换",
|
||||
@@ -7314,7 +7314,7 @@ const I18N = {
|
||||
"{agent} stays signed in to the first account": "{agent} 將始終登入首選帳號",
|
||||
"magpie moves {agent} to an account with room again": "首選帳號額度不足時,會再把 {agent} 切到有餘量的帳號",
|
||||
"Smart": "智慧",
|
||||
"Of the accounts with quota to spare, the one whose quota renews soonest goes first, since what it has left is lost then; one not started yet renews last, so it waits, and keys go in their order. One at 90% waits until the others can't answer. One out of credit sits out half an hour, one out of quota until it resets, one rate limited as long as the vendor asks, and one that fails a minute, longer each time it fails again.": "額度充足的帳號中,額度最先重置的先用,因為它剩下的額度到時就作廢;還沒開始計時的最後才重置,所以排在後面;金鑰按順序。用到 90% 的,等其他都無法回應時才用。欠費的暫停半小時,額度用完的暫停到重置,被限流的按廠商要求暫停,出錯的暫停一分鐘,再出錯則逐次延長。",
|
||||
"Not load balancing: requests go to one account at a time, the one whose quota renews soonest, since what it has left is lost then; the next takes over when it is at 90% or can't answer. Keys go in their order. To spread requests evenly, pick In turn or Least used first. One out of credit sits out half an hour, one out of quota until it resets, one rate limited as long as the vendor asks, and one that fails a minute, longer each time it fails again.": "不是負載平衡:請求一次只給一個帳號,即額度最先重置的那個(它剩下的額度到時就作廢),它用到 90% 或無法回應時才換下一個;金鑰按順序。要平均分攤,請選「輪流」或「用量少的優先」。欠費的暫停半小時,額度用完的暫停到重置,被限流的按廠商要求暫停,出錯的暫停一分鐘,再出錯則逐次延長。",
|
||||
"{user} is first in the order; {routing} still goes by each account's quota, so the order only settles ties. In order uses the first first.": "{user} 已排在首位;{routing} 仍按各帳號的額度挑選,順序只在條件相同時起作用。想先用完首選帳號,請選「按順序」。",
|
||||
"In order": "按順序",
|
||||
"Until used up": "用完再換",
|
||||
@@ -12432,7 +12432,7 @@ const I18N = {
|
||||
"{agent} stays signed in to the first account": "{agent} は最初のアカウントにサインインしたままになります",
|
||||
"magpie moves {agent} to an account with room again": "magpie は {agent} を再び残量のあるアカウントに切り替えます",
|
||||
"Smart": "スマート",
|
||||
"Of the accounts with quota to spare, the one whose quota renews soonest goes first, since what it has left is lost then; one not started yet renews last, so it waits, and keys go in their order. One at 90% waits until the others can't answer. One out of credit sits out half an hour, one out of quota until it resets, one rate limited as long as the vendor asks, and one that fails a minute, longer each time it fails again.": "枠に余裕のあるアカウントのうち、枠が最も早くリセットされるものから使います(残りはその時点で失われるため)。まだ始まっていないものは最後にリセットされるので後回しになり、キーは順番どおりです。90% に達したものは、ほかが応答できないときまで待ちます。残高切れは 30 分、枠切れはリセットまで、レート制限はベンダーの指定どおり休み、失敗したものは 1 分、失敗が続くたびに長く休みます。",
|
||||
"Not load balancing: requests go to one account at a time, the one whose quota renews soonest, since what it has left is lost then; the next takes over when it is at 90% or can't answer. Keys go in their order. To spread requests evenly, pick In turn or Least used first. One out of credit sits out half an hour, one out of quota until it resets, one rate limited as long as the vendor asks, and one that fails a minute, longer each time it fails again.": "負荷分散ではありません。リクエストは一度に 1 つのアカウント、枠が最も早くリセットされるもの(残りはその時点で失われるため)に送られ、それが 90% に達するか応答できなくなったら次に移ります。キーは順番どおりです。均等に分けるには「交互」か「使用量が最少のものを優先」を選んでください。残高切れは 30 分、枠切れはリセットまで、レート制限はベンダーの指定どおり休み、失敗したものは 1 分、失敗が続くたびに長く休みます。",
|
||||
"{user} is first in the order; {routing} still goes by each account's quota, so the order only settles ties. In order uses the first first.": "{user} が順番の先頭になりました。{routing} は引き続き各アカウントの枠で選ぶため、順番は条件が同じときだけ効きます。先頭から使い切るには「順番」を選んでください。",
|
||||
"In order": "順番",
|
||||
"Until used up": "使い切ってから次へ",
|
||||
@@ -17581,7 +17581,7 @@ const I18N = {
|
||||
"{agent} stays signed in to the first account": "{agent} bleibt beim ersten Konto angemeldet",
|
||||
"magpie moves {agent} to an account with room again": "magpie wechselt {agent} wieder zu einem Konto mit freiem Kontingent",
|
||||
"Smart": "Intelligent",
|
||||
"Of the accounts with quota to spare, the one whose quota renews soonest goes first, since what it has left is lost then; one not started yet renews last, so it waits, and keys go in their order. One at 90% waits until the others can't answer. One out of credit sits out half an hour, one out of quota until it resets, one rate limited as long as the vendor asks, and one that fails a minute, longer each time it fails again.": "Von den Konten mit Kontingent übrig geht das zuerst, dessen Kontingent am frühesten zurückgesetzt wird, denn was es übrig hat, verfällt dann; eines, das noch nicht begonnen hat, wird zuletzt zurückgesetzt und wartet daher, und Schlüssel gehen der Reihe nach. Eines bei 90 % wartet, bis die anderen nicht antworten können. Eines ohne Guthaben pausiert eine halbe Stunde, eines ohne Kontingent bis zum Zurücksetzen, eines mit Ratenlimit so lange, wie der Anbieter verlangt, und eines, das fehlschlägt, eine Minute, bei jedem weiteren Fehlschlag länger.",
|
||||
"Not load balancing: requests go to one account at a time, the one whose quota renews soonest, since what it has left is lost then; the next takes over when it is at 90% or can't answer. Keys go in their order. To spread requests evenly, pick In turn or Least used first. One out of credit sits out half an hour, one out of quota until it resets, one rate limited as long as the vendor asks, and one that fails a minute, longer each time it fails again.": "Kein Lastausgleich: Anfragen gehen jeweils an ein Konto, dessen Kontingent am frühesten zurückgesetzt wird (was es übrig hat, verfällt dann); das nächste übernimmt, wenn es bei 90 % ist oder nicht antworten kann. Schlüssel gehen der Reihe nach. Für gleichmäßige Verteilung „Abwechselnd“ oder „Am wenigsten genutzte zuerst“ wählen. Eines ohne Guthaben pausiert eine halbe Stunde, eines ohne Kontingent bis zum Zurücksetzen, eines mit Ratenlimit so lange, wie der Anbieter verlangt, und eines, das fehlschlägt, eine Minute, bei jedem weiteren Fehlschlag länger.",
|
||||
"{user} is first in the order; {routing} still goes by each account's quota, so the order only settles ties. In order uses the first first.": "{user} steht jetzt an erster Stelle; {routing} geht weiter nach dem Kontingent jedes Kontos, die Reihenfolge entscheidet nur bei Gleichstand. Der Reihe nach verbraucht zuerst das erste.",
|
||||
"In order": "Der Reihe nach",
|
||||
"Until used up": "Bis aufgebraucht",
|
||||
|
||||
Reference in New Issue
Block a user