Every agent's model. One place. Codex on DeepSeek, Claude Code on Kimi, from the menu bar.
routing: an error that may pass reads 暂时性错误 in Chinese, not 会过去的错误 (Outvi V)
yetone39e5964353a6
diff --git a/internal/gui/assets/plugins/routing/i18n.js b/internal/gui/assets/plugins/routing/i18n.jsindex bab1bfde3..3b65c83cf 100644--- a/internal/gui/assets/plugins/routing/i18n.js+++ b/internal/gui/assets/plugins/routing/i18n.js@@ -159,9 +159,9 @@ magpie.strings({"Agents' model lists and the gateway's /v1/models show the group, not the models it names or its patterns match: they are used through it. A request naming one is still answered.": "Agent 的模型列表和网关的 /v1/models 只列出本组,不列出它点名的模型和模式匹配到的模型:这些模型通过本组使用。直接点名其中一个模型的请求仍会被应答。","Slow to start": "迟迟不出字","Every member busy": "成员全都忙",- "When every member has failed with an error that may pass — overloaded, unavailable, rate limited for a moment — and nothing of the reply has reached the agent, each is asked again after a pause, longer each time and never shorter than the vendor asks, for up to {n} more. A streaming agent is kept waiting meanwhile.": "每个成员都失败了、且错误是会过去的那种(过载、暂不可用、短暂限流),而回复还一点都没到智能体时,过一会儿依次再问一遍每个成员,间隔一次比一次长,也不短于厂商要求的等待,最多再等 {n}。流式请求的智能体在此期间会一直被保持等待。",+ "When every member has failed with an error that may pass — overloaded, unavailable, rate limited for a moment — and nothing of the reply has reached the agent, each is asked again after a pause, longer each time and never shorter than the vendor asks, for up to {n} more. A streaming agent is kept waiting meanwhile.": "每个成员都因暂时性错误(过载、暂不可用、短暂限流)失败,而回复还一点都没到智能体时,过一会儿依次再问一遍每个成员,间隔一次比一次长,也不短于厂商要求的等待,最多再等 {n}。流式请求的智能体在此期间会一直被保持等待。","When every member has failed, the agent gets the last one's error at once.": "每个成员都失败时,智能体立刻拿到最后一个的错误。",- "{who} answered {status} · {fail}, and every member had failed with an error that may pass, so after {d} the {n} of them are asked again, in turn, before any of the reply reaches {agent}. The group waits up to {p} for one to answer.": "{who} 回了 {status} · {fail},而每个成员都以会过去的错误失败了,所以 {d} 后依次再问这 {n} 个,回复还一点都没到 {agent}。这个分组最多等 {p} 让其中一个回答。",+ "{who} answered {status} · {fail}, and every member had failed with an error that may pass, so after {d} the {n} of them are asked again, in turn, before any of the reply reaches {agent}. The group waits up to {p} for one to answer.": "{who} 回了 {status} · {fail},而每个成员都因暂时性错误失败,所以 {d} 后依次再问这 {n} 个,回复还一点都没到 {agent}。这个分组最多等 {p} 让其中一个回答。","Largest model's": "最大模型的","Smallest model's": "最小模型的","{v} is not a number of minutes": "{v} 不是有效的分钟数",@@ -354,7 +354,7 @@ magpie.strings({"{who} takes no request for a reply as short as this one asked for, so it is asked again for the shortest it gives, before any of the reply reaches {agent}.": "{who} 不接受这么短的回复长度(max_tokens),已在回复到达 {agent} 前按其允许的最小值重问。","{who} couldn't read the reasoning another account wrote earlier in this conversation, so it is asked again without it, before any of the reply reaches {agent}.": "{who} 无法读取此会话中另一个账号先前写下的推理,已在回复到达 {agent} 前去掉这部分重问。","{agent} canceled the request while {who} was answering: nobody failed, so nobody rests and nobody else is asked.": "{who} 回答时 {agent} 取消了请求:无人出错,不休息,也不再问其他账号。",- "{who} answered {status} · {fail}, and nobody else is left to ask — a failure that may pass, so it is tried again in {d}, before any of the reply reaches {agent}.": "{who} 返回 {status} · {fail},且无其他可问;此类失败可能很快恢复,{d} 后重试一次,此时尚未向 {agent} 发送任何回复。",+ "{who} answered {status} · {fail}, and nobody else is left to ask — a failure that may pass, so it is tried again in {d}, before any of the reply reaches {agent}.": "{who} 返回 {status} · {fail},且无其他可问;这可能是暂时性错误,{d} 后重试一次,此时尚未向 {agent} 发送任何回复。","{who} answered {status} · {fail}, and was to be asked again in {d}, but {agent} canceled the request before then, so nobody is asked again.": "{who} 返回 {status} · {fail},原定 {d} 后重试,但 {agent} 在此之前取消了请求,因此不再重试。","Back to live": "回到实时","Replay them all": "全部重放",@@ -701,9 +701,9 @@ magpie.strings({"Agents' model lists and the gateway's /v1/models show the group, not the models it names or its patterns match: they are used through it. A request naming one is still answered.": "Agent 的模型清單和閘道的 /v1/models 只列出本組,不列出它點名的模型和模式比對到的模型:這些模型透過本組使用。直接點名其中一個模型的請求仍會被回應。","Slow to start": "遲遲不出字","Every member busy": "成員全都忙",- "When every member has failed with an error that may pass — overloaded, unavailable, rate limited for a moment — and nothing of the reply has reached the agent, each is asked again after a pause, longer each time and never shorter than the vendor asks, for up to {n} more. A streaming agent is kept waiting meanwhile.": "每個成員都失敗了、且錯誤是會過去的那種(過載、暫不可用、短暫限流),而回覆還一點都沒到智慧體時,過一會兒依序再問一遍每個成員,間隔一次比一次長,也不短於廠商要求的等待,最多再等 {n}。串流請求的智慧體在此期間會一直被保持等待。",+ "When every member has failed with an error that may pass — overloaded, unavailable, rate limited for a moment — and nothing of the reply has reached the agent, each is asked again after a pause, longer each time and never shorter than the vendor asks, for up to {n} more. A streaming agent is kept waiting meanwhile.": "每個成員都因暫時性錯誤(過載、暫不可用、短暫限流)失敗,而回覆還一點都沒到智慧體時,過一會兒依序再問一遍每個成員,間隔一次比一次長,也不短於廠商要求的等待,最多再等 {n}。串流請求的智慧體在此期間會一直被保持等待。","When every member has failed, the agent gets the last one's error at once.": "每個成員都失敗時,智慧體立刻拿到最後一個的錯誤。",- "{who} answered {status} · {fail}, and every member had failed with an error that may pass, so after {d} the {n} of them are asked again, in turn, before any of the reply reaches {agent}. The group waits up to {p} for one to answer.": "{who} 回了 {status} · {fail},而每個成員都以會過去的錯誤失敗了,所以 {d} 後依序再問這 {n} 個,回覆還一點都沒到 {agent}。這個分組最多等 {p} 讓其中一個回答。",+ "{who} answered {status} · {fail}, and every member had failed with an error that may pass, so after {d} the {n} of them are asked again, in turn, before any of the reply reaches {agent}. The group waits up to {p} for one to answer.": "{who} 回了 {status} · {fail},而每個成員都因暫時性錯誤失敗,所以 {d} 後依序再問這 {n} 個,回覆還一點都沒到 {agent}。這個分組最多等 {p} 讓其中一個回答。","Largest model's": "最大模型的","Smallest model's": "最小模型的","{v} is not a number of minutes": "{v} 不是有效的分鐘數",@@ -887,7 +887,7 @@ magpie.strings({"{who} takes no request for a reply as short as this one asked for, so it is asked again for the shortest it gives, before any of the reply reaches {agent}.": "{who} 不接受這麼短的回覆長度(max_tokens),已在回覆到達 {agent} 前按其允許的最小值重問。","{who} couldn't read the reasoning another account wrote earlier in this conversation, so it is asked again without it, before any of the reply reaches {agent}.": "{who} 無法讀取此會話中另一個帳號先前寫下的推理,已在回覆到達 {agent} 前去掉這部分重問。","{agent} canceled the request while {who} was answering: nobody failed, so nobody rests and nobody else is asked.": "{who} 回答時 {agent} 取消了請求:無人出錯,不休息,也不再問其他帳號。",- "{who} answered {status} · {fail}, and nobody else is left to ask — a failure that may pass, so it is tried again in {d}, before any of the reply reaches {agent}.": "{who} 返回 {status} · {fail},且無其他可問;此類失敗可能很快恢復,{d} 後重試一次,此時尚未向 {agent} 傳送任何回覆。",+ "{who} answered {status} · {fail}, and nobody else is left to ask — a failure that may pass, so it is tried again in {d}, before any of the reply reaches {agent}.": "{who} 返回 {status} · {fail},且無其他可問;這可能是暫時性錯誤,{d} 後重試一次,此時尚未向 {agent} 傳送任何回覆。","{who} answered {status} · {fail}, and was to be asked again in {d}, but {agent} canceled the request before then, so nobody is asked again.": "{who} 回傳 {status} · {fail},原定 {d} 後重試,但 {agent} 在此之前取消了請求,因此不再重試。","Back to live": "回到即時","Replay them all": "全部重放",@@ -1951,7 +1951,7 @@ magpie.strings({"{who} takes no request for a reply as short as this one asked for, so it is asked again for the shortest it gives, before any of the reply reaches {agent}.": "{who} nimmt keine Anfrage nach einer so kurzen Antwort wie verlangt an, daher wird es erneut nach der kürzesten möglichen gefragt, bevor etwas von der Antwort {agent} erreicht.","{who} couldn't read the reasoning another account wrote earlier in this conversation, so it is asked again without it, before any of the reply reaches {agent}.": "{who} konnte das Reasoning nicht lesen, das ein anderes Konto zuvor in dieser Unterhaltung geschrieben hat, daher wird es ohne dieses erneut gefragt, bevor etwas von der Antwort {agent} erreicht.","{agent} canceled the request while {who} was answering: nobody failed, so nobody rests and nobody else is asked.": "{agent} hat die Anfrage abgebrochen, während {who} antwortete: Niemand ist fehlgeschlagen, daher pausiert niemand und kein anderer wird gefragt.",- "{who} answered {status} · {fail}, and nobody else is left to ask — a failure that may pass, so it is tried again in {d}, before any of the reply reaches {agent}.": "{who} antwortete mit {status} · {fail}, und es bleibt niemand sonst zum Fragen – ein Fehler, der vorübergehen kann, daher wird es in {d} erneut versucht, bevor etwas von der Antwort {agent} erreicht.",+ "{who} answered {status} · {fail}, and nobody else is left to ask — a failure that may pass, so it is tried again in {d}, before any of the reply reaches {agent}.": "{who} antwortete mit {status} · {fail}, und es bleibt niemand sonst zum Fragen – möglicherweise ein vorübergehender Fehler, daher wird es in {d} erneut versucht, bevor etwas von der Antwort {agent} erreicht.","{who} answered {status} · {fail}, and was to be asked again in {d}, but {agent} canceled the request before then, so nobody is asked again.": "{who} antwortete {status} · {fail} und sollte in {d} erneut gefragt werden, doch {agent} hat die Anfrage vorher abgebrochen, daher wird niemand erneut gefragt.","Back to live": "Zurück zu live","Replay them all": "Alle wiedergeben",diff --git a/internal/gui/tests/group-patience.test.cjs b/internal/gui/tests/group-patience.test.cjsindex 3f6e58a82..96fc1d56e 100644--- a/internal/gui/tests/group-patience.test.cjs+++ b/internal/gui/tests/group-patience.test.cjs@@ -122,6 +122,19 @@ for (const engine of (process.env.BROWSER ? [process.env.BROWSER] : ["chromium",return ["zh", "zh-TW", "ja", "de"].flatMap((l) => keys.filter((k) => !I18N[l][k]).map((k) => l + ": " + k));});assert.deepEqual(missing, [], "every string has its translations");++ // "an error that may pass" is the plain term 暂时性错误 / 暫時性錯誤+ // in Chinese, not a literal 会过去的错误 (Outvi V on Discord).+ const unplain = await page.evaluate(() => {+ const keys = [+ "When every member has failed with an error that may pass — overloaded, unavailable, rate limited for a moment — and nothing of the reply has reached the agent, each is asked again after a pause, longer each time and never shorter than the vendor asks, for up to {n} more. A streaming agent is kept waiting meanwhile.",+ "{who} answered {status} · {fail}, and every member had failed with an error that may pass, so after {d} the {n} of them are asked again, in turn, before any of the reply reaches {agent}. The group waits up to {p} for one to answer.",+ "{who} answered {status} · {fail}, and nobody else is left to ask — a failure that may pass, so it is tried again in {d}, before any of the reply reaches {agent}.",+ ];+ const term = { zh: "暂时性错误", "zh-TW": "暫時性錯誤" };+ return Object.entries(term).flatMap(([l, w]) => keys.filter((k) => !(I18N[l][k] || "").includes(w)).map((k) => l + ": " + I18N[l][k]));+ });+ assert.deepEqual(unplain, [], "a passing error is named 暂时性错误 in Chinese");assert.deepEqual(errors, []);});}