Skip to content

Every agent's model. One place. Codex on DeepSeek, Claude Code on Kimi, from the menu bar.

gateway: a reply asked past what the window leaves is asked again for what it leaves, not failed as too long (molvqingtai, da34, Jeremy.Zhou on Discord)

yetoneb749cffbb1b6
diff --git a/internal/gateway/gateway.go b/internal/gateway/gateway.go
index 4e3a789e6..2f1f73030 100644
--- a/internal/gateway/gateway.go
+++ b/internal/gateway/gateway.go
@@ -2247,6 +2247,9 @@ func (s *Server) serve(w http.ResponseWriter, r *http.Request, from provider.Pro
repicked := 0 // times Copilot's Auto was asked again for a model the account is served
floored := false // the reply's length raised to what the provider takes
plainFor := "" // the account and model asked again without effort updates (#617)
+ // the account and model asked again for a reply that fits the window
+ // the prompt leaves, and how long that is (roomCap)
+ roomFor, roomCap := "", 0
// the key or subscription account the last try went to (#557)
providerKeyID, providerKeyName, providerAccount := "", "", ""
var other *Try // the first failure that wasn't an allowance run out
@@ -2431,6 +2434,11 @@ func (s *Server) serve(w http.ResponseWriter, r *http.Request, from provider.Pro
} else if n := userOutput(c.p, c.model); n > 0 {
attemptBody = withMaxOutput(from, attemptBody, n)
}
+ if roomFor == c.who()+"|"+c.model {
+ if b, ok := withReplyCap(from, attemptBody, roomCap); ok {
+ attemptBody = b
+ }
+ }
picked := false // the effort asked for in place of the agent's
// a member fixed at an effort (#189), else the model asked for at
// one (#536)
@@ -2870,6 +2878,24 @@ func (s *Server) serve(w http.ResponseWriter, r *http.Request, from provider.Pro
continue
}
}
+ if roomFor != c.who()+"|"+c.model && !hw.passing && (hw.code() == 400 || hw.code() == 422) {
+ // the window holds the prompt but not the reply asked for with
+ // it: DeepSeek counts max_tokens in its 1M window, and a client
+ // asking its full 384K for a 700K conversation (max_completion_
+ // tokens, passed as max_tokens since #2355) was refused as too
+ // long, where every other member of its group answered
+ // (molvqingtai on Discord). The same one is asked again for what
+ // the window has left, as the vendor counted it
+ if left := replyLeft(wordsOf(hw.errBody())); left >= leastReplyLeft {
+ if _, ok := withReplyCap(from, attemptBody, left); ok {
+ roomFor, roomCap = c.who()+"|"+c.model, left
+ try.Fail = failRoom
+ s.trace.update(tr, func(t *Route) { t.Tries[len(t.Tries)-1] = try })
+ i--
+ continue
+ }
+ }
+ }
if hw.failed() && hw.refused {
refusals++
if !refusalAsksAgain(refusals) {
diff --git a/internal/gateway/maxoutput.go b/internal/gateway/maxoutput.go
index ee7f92359..67421c341 100644
--- a/internal/gateway/maxoutput.go
+++ b/internal/gateway/maxoutput.go
@@ -1,7 +1,12 @@
package gateway
import (
+ "bytes"
"encoding/json"
+ "regexp"
+ "strconv"
+
+ "github.com/tidwall/gjson"
"github.com/yetone/magpie/internal/provider"
)
@@ -109,3 +114,74 @@ func withMaxOutput(proto provider.Protocol, body []byte, limit int) []byte {
}
return withFields(body, fields)
}
+
+// replyLeft reads, from a refusal that counts the reply asked for in the
+// window (DeepSeek's and vLLM's "This model's maximum context length is
+// 1000000 tokens. However, you requested 1100000 tokens (706784 in the
+// messages, 393216 in the completion)"), the tokens the window has left
+// for a reply after the prompt; 0 when the error isn't one of those, or
+// the prompt alone fills the window.
+func replyLeft(msg []byte) int {
+ window, prompt := 0, 0
+ if m := windowAndPrompt.FindSubmatch(msg); m != nil {
+ window, _ = strconv.Atoi(string(m[1]))
+ prompt, _ = strconv.Atoi(string(m[2]))
+ if m[2] == nil {
+ prompt, _ = strconv.Atoi(string(m[3]))
+ }
+ } else if m := inputPlusReply.FindSubmatch(msg); m != nil {
+ prompt, _ = strconv.Atoi(string(m[1]))
+ window, _ = strconv.Atoi(string(m[2]))
+ }
+ if window <= 0 || prompt <= 0 || prompt >= window {
+ return 0
+ }
+ return window - prompt
+}
+
+// windowAndPrompt matches the window and the prompt's part of a refusal
+// that adds the reply's allowance to the prompt: "(N in the messages, M in
+// the completion)", or vLLM's newer "your prompt contains at least N input
+// tokens".
+var windowAndPrompt = regexp.MustCompile(`(?is)maximum context length is (\d+) tokens.{0,200}?(?:\((\d+) in the messages, \d+ in the completion\)|your prompt contains at least (\d+) input tokens)`)
+
+// inputPlusReply is Anthropic's words for the same, which an endpoint
+// speaking its API may answer with: "input length and `max_tokens` exceed
+// context limit: 197202 + 21333 > 200000".
+var inputPlusReply = regexp.MustCompile(`(?i)input length and .{0,3}max_tokens.{0,3} exceed context limit:\s*(\d+)\s*\+\s*\d+\s*>\s*(\d+)`)
+
+// leastReplyLeft is the least room left for a reply that is worth asking
+// for: less, and the conversation needs compacting, which the refusal
+// tells the agent as it is (DeepSeek's own default reply is 8K).
+const leastReplyLeft = 8192
+
+// withReplyCap is body asking for a reply of at most limit tokens, in
+// proto's words, whether or not it named a limit before: a request that
+// named none was given the vendor's own, which was too large. false when
+// it asked for no more already, or proto keeps no such field magpie sets.
+func withReplyCap(proto provider.Protocol, body []byte, limit int) ([]byte, bool) {
+ if limit <= 0 {
+ return nil, false
+ }
+ out := withMaxOutput(proto, body, limit)
+ if !bytes.Equal(out, body) {
+ return out, true
+ }
+ var key string
+ switch proto {
+ case provider.Chat:
+ if gjson.GetBytes(body, "max_tokens").Exists() || gjson.GetBytes(body, "max_completion_tokens").Exists() {
+ return nil, false
+ }
+ key = "max_tokens"
+ case provider.Responses:
+ if gjson.GetBytes(body, "max_output_tokens").Exists() {
+ return nil, false
+ }
+ key = "max_output_tokens"
+ default:
+ // Anthropic's always names one; Gemini's is lowered above
+ return nil, false
+ }
+ return withFields(body, map[string]any{key: limit}), true
+}
diff --git a/internal/gateway/reply_room_test.go b/internal/gateway/reply_room_test.go
new file mode 100644
index 000000000..51f50d09c
--- /dev/null
+++ b/internal/gateway/reply_room_test.go
@@ -0,0 +1,203 @@
+package gateway
+
+import (
+ "fmt"
+ "io"
+ "net/http"
+ "net/http/httptest"
+ "strings"
+ "sync"
+ "testing"
+
+ "github.com/tidwall/gjson"
+
+ "github.com/yetone/magpie/internal/provider"
+)
+
+// deepseekWindow is a fake of DeepSeek's chat API that counts the reply
+// asked for (max_tokens) in its window with the prompt, as DeepSeek does,
+// and refuses in its words a request whose two together pass it.
+type deepseekWindow struct {
+ mu sync.Mutex
+ window int
+ prompt int
+ asked []int64 // each request's max_tokens, -1 when it named none
+}
+
+func (d *deepseekWindow) ServeHTTP(w http.ResponseWriter, r *http.Request) {
+ b, _ := io.ReadAll(r.Body)
+ n := int64(-1)
+ if v := gjson.GetBytes(b, "max_tokens"); v.Exists() {
+ n = v.Int()
+ }
+ d.mu.Lock()
+ d.asked = append(d.asked, n)
+ d.mu.Unlock()
+ if n < 0 || d.prompt+int(n) > d.window {
+ w.Header().Set("Content-Type", "application/json")
+ w.WriteHeader(400)
+ fmt.Fprintf(w, `{"error":{"message":"This model's maximum context length is %d tokens. However, you requested %d tokens (%d in the messages, %d in the completion). Please reduce the length of the messages or completion.","type":"invalid_request_error","param":null,"code":"invalid_request_error"}}`,
+ d.window, d.prompt+int(n), d.prompt, n)
+ return
+ }
+ w.Header().Set("Content-Type", "text/event-stream")
+ io.WriteString(w, sse(
+ `data: {"id":"test","object":"chat.completion.chunk","choices":[{"index":0,"delta":{"content":"ok"}}]}`,
+ `data: {"id":"test","object":"chat.completion.chunk","choices":[{"index":0,"delta":{},"finish_reason":"stop"}]}`,
+ `data: [DONE]`,
+ ))
+}
+
+func (d *deepseekWindow) took() []int64 {
+ d.mu.Lock()
+ defer d.mu.Unlock()
+ out := append([]int64(nil), d.asked...)
+ d.asked = nil
+ return out
+}
+
+// A client asking DeepSeek for its whole 384K reply on a conversation of
+// 706,784 tokens is refused by DeepSeek as too long, since its 1M window
+// counts the reply asked for: since #2355 passed max_completion_tokens on
+// as max_tokens, every such turn at the official DeepSeek member of a
+// group failed as "too long for its model" (molvqingtai on Discord). It
+// is asked again for the reply the window has left, and answers. Room
+// too small to be worth a reply still reaches the agent as the overflow.
+func TestDeepSeekReplyFitsTheWindowLeft(t *testing.T) {
+ fresh(t)
+ d := &deepseekWindow{window: 1000000, prompt: 706784}
+ up := httptest.NewServer(d)
+ defer up.Close()
+ p, err := provider.FromPreset("deepseek")
+ if err != nil {
+ t.Fatal(err)
+ }
+ p.Key = "fixture-key"
+ p.Chat = up.URL + "/v1"
+ // its chat API alone, the fake: no request reaches DeepSeek
+ p.Responses, p.Anthropic = "", ""
+ p.Models = []string{"deepseek-flash"}
+ if err := provider.Save(p); err != nil {
+ t.Fatal(err)
+ }
+ msgs := `"messages":[{"role":"user","content":"hi"}]`
+ for _, c := range []struct {
+ path, body string
+ want []int64
+ }{
+ // DSH's pi-ai, OpenAI's field (#2355)
+ {"/v1/chat/completions", `{"model":"deepseek/deepseek-flash","stream":true,"max_completion_tokens":393216,` + msgs + `}`, []int64{393216, 293216}},
+ {"/v1/chat/completions", `{"model":"deepseek/deepseek-flash","stream":true,"max_tokens":393216,` + msgs + `}`, []int64{393216, 293216}},
+ // a Responses client, translated to DeepSeek's chat API
+ {"/v1/responses", `{"model":"deepseek/deepseek-flash","stream":true,"max_output_tokens":393216,"input":"hi"}`, []int64{393216, 293216}},
+ // one that fits is asked once
+ {"/v1/chat/completions", `{"model":"deepseek/deepseek-flash","stream":true,"max_tokens":32000,` + msgs + `}`, []int64{32000}},
+ } {
+ code, reply := post(t, c.path, c.body)
+ if code != 200 {
+ t.Fatalf("%s: HTTP %d: %s", c.body, code, reply)
+ }
+ if got := d.took(); fmt.Sprint(got) != fmt.Sprint(c.want) {
+ t.Fatalf("%s: DeepSeek was asked max_tokens %v, want %v", c.body, got, c.want)
+ }
+ }
+
+ // the prompt leaves under leastReplyLeft: the conversation needs
+ // compacting, and the agent is told it overflowed, asked once
+ d.prompt = 1000000 - 4000
+ code, reply := post(t, "/v1/chat/completions", `{"model":"deepseek/deepseek-flash","stream":true,"max_tokens":393216,`+msgs+`}`)
+ if code != 400 || !strings.Contains(reply, "maximum context length") {
+ t.Fatalf("no room: HTTP %d: %s", code, reply)
+ }
+ if got := d.took(); fmt.Sprint(got) != "[393216]" {
+ t.Fatalf("no room: DeepSeek was asked %v, want once", got)
+ }
+}
+
+func TestReplyLeft(t *testing.T) {
+ for _, c := range []struct {
+ msg string
+ want int
+ }{
+ {"This model's maximum context length is 1000000 tokens. However, you requested 1100000 tokens (706784 in the messages, 393216 in the completion). Please reduce the length of the messages or completion.", 293216},
+ {"This model's maximum context length is 32768 tokens. However, you requested 32000 output tokens and your prompt contains at least 769 input tokens, for a total of at least 32769 tokens.", 31999},
+ // Anthropic's, from an endpoint speaking its API
+ {"input length and `max_tokens` exceed context limit: 970000 + 64000 > 1000000, decrease input length or `max_tokens` and try again", 30000},
+ // the prompt alone is too long: nothing is left
+ {"This model's maximum context length is 131072 tokens. However, you requested 140000 tokens (140000 in the messages, 0 in the completion).", 0},
+ // says no parts
+ {"This model's maximum context length is 131072 tokens. However, you requested 140000 tokens", 0},
+ {"Invalid max_tokens value, the valid range of max_tokens is [1, 8192]", 0},
+ } {
+ if got := replyLeft([]byte(c.msg)); got != c.want {
+ t.Errorf("replyLeft(%q) = %d, want %d", c.msg, got, c.want)
+ }
+ }
+}
+
+// Claude Code and Codex reach an endpoint speaking Anthropic's API (as
+// DeepSeek's /anthropic does) with a reply limit of their own (Claude
+// Code's 64000) or the model's whole (Codex names none, so magpie asks
+// the model's, #1792). Told a 1M window, they compact only near it, and
+// a turn whose prompt and reply together pass it was refused, so Codex
+// stopped with "ran out of room in the model's context window" (da34,
+// Jeremy.Zhou on Discord). Each is asked again for what the window left.
+func TestAnthropicReplyFitsTheWindowLeft(t *testing.T) {
+ fresh(t)
+ const window, prompt = 1000000, 970000
+ var mu sync.Mutex
+ var asked []int64
+ up := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
+ b, _ := io.ReadAll(r.Body)
+ n := gjson.GetBytes(b, "max_tokens").Int()
+ mu.Lock()
+ asked = append(asked, n)
+ mu.Unlock()
+ if prompt+int(n) > window {
+ w.Header().Set("Content-Type", "application/json")
+ w.WriteHeader(400)
+ fmt.Fprintf(w, `{"type":"error","error":{"type":"invalid_request_error","message":"input length and `+"`max_tokens`"+` exceed context limit: %d + %d > %d, decrease input length or `+"`max_tokens`"+` and try again"}}`, prompt, n, window)
+ return
+ }
+ if gjson.GetBytes(b, "stream").Bool() {
+ w.Header().Set("Content-Type", "text/event-stream")
+ io.WriteString(w, "event: message_start\ndata: {\"type\":\"message_start\",\"message\":{\"id\":\"m\",\"type\":\"message\",\"role\":\"assistant\",\"content\":[],\"usage\":{\"input_tokens\":1,\"output_tokens\":0}}}\n\n"+
+ "event: content_block_start\ndata: {\"type\":\"content_block_start\",\"index\":0,\"content_block\":{\"type\":\"text\",\"text\":\"\"}}\n\n"+
+ "event: content_block_delta\ndata: {\"type\":\"content_block_delta\",\"index\":0,\"delta\":{\"type\":\"text_delta\",\"text\":\"ok\"}}\n\n"+
+ "event: content_block_stop\ndata: {\"type\":\"content_block_stop\",\"index\":0}\n\n"+
+ "event: message_delta\ndata: {\"type\":\"message_delta\",\"delta\":{\"stop_reason\":\"end_turn\"},\"usage\":{\"output_tokens\":1}}\n\n"+
+ "event: message_stop\ndata: {\"type\":\"message_stop\"}\n\n")
+ return
+ }
+ w.Header().Set("Content-Type", "application/json")
+ io.WriteString(w, `{"id":"m","type":"message","role":"assistant","content":[{"type":"text","text":"ok"}],"stop_reason":"end_turn","usage":{"input_tokens":1,"output_tokens":1}}`)
+ }))
+ t.Cleanup(up.Close)
+ if err := provider.Save(provider.Provider{ID: "a", Name: "A", Key: "k", Models: []string{"m"}, Anthropic: up.URL + "/v1"}); err != nil {
+ t.Fatal(err)
+ }
+ if err := provider.SetModelOutput("a/m", 393216); err != nil {
+ t.Fatal(err)
+ }
+ s := New()
+ for _, c := range []struct {
+ name, path, body string
+ want string
+ }{
+ {"Claude Code", "/v1/messages", `{"model":"a/m","max_tokens":64000,"messages":[{"role":"user","content":"hi"}]}`, "[64000 30000]"},
+ {"Codex", "/v1/responses", `{"model":"a/m","input":"hi"}`, "[393216 30000]"},
+ } {
+ mu.Lock()
+ asked = nil
+ mu.Unlock()
+ if code, raw := postJSON(t, s, c.path, c.body); code != 200 {
+ t.Fatalf("%s: %d %s", c.name, code, raw)
+ }
+ mu.Lock()
+ got := fmt.Sprint(asked)
+ mu.Unlock()
+ if got != c.want {
+ t.Fatalf("%s: the endpoint was asked max_tokens %s, want %s", c.name, got, c.want)
+ }
+ }
+}
diff --git a/internal/gateway/routing.go b/internal/gateway/routing.go
index 04123b3c1..865000fb0 100644
--- a/internal/gateway/routing.go
+++ b/internal/gateway/routing.go
@@ -221,6 +221,10 @@ const (
// failOverflow: the conversation is too long for the member's model
// (#700) — another member, with room for it, is asked, and nobody rests
failOverflow = "overflow"
+ // failRoom: the window held the prompt but not the reply asked for
+ // with it — the same one is asked again for the reply the window has
+ // left, and nobody rests
+ failRoom = "room"
// failSlow: the member hadn't begun its reply when its group's
// FirstToken ran out, nothing of it sent — the next is asked, and
// nobody rests, as a long prompt is slow anywhere
diff --git a/internal/gui/assets/plugins/routing/client.js b/internal/gui/assets/plugins/routing/client.js
index 55b716933..885891578 100644
--- a/internal/gui/assets/plugins/routing/client.js
+++ b/internal/gui/assets/plugins/routing/client.js
@@ -433,7 +433,7 @@ function routingPage(part) {
// (WorkBuddy's credits, #659): "355 / 500 credits · 71% used"
const quota = (w, used, left, vars) => (w.limit > 0 ? quotaCount(w) + " · " : "") + t(quotaLeft ? left : used, { n: pct(share(w)), ...vars });
const fill = (w) => Math.max(0, Math.min(100, share(w))) + "%";
- const FAIL = { rate: "rate limited", credit: "out of credit", quota: "quota used up", other: "failed", auth: "sign-in required", canceled: "canceled", foreign: "another account's reasoning", floor: "reply too short", verify: "needs verification", refused: "refused (safety filter)", shape: "request not understood", proxy: "proxy not reachable", effort: "reasoning effort not in its plan", overflow: "too long for its model", slow: "slow to start", prompt: "agent's prompt turned away", restricted: "account restricted by the vendor" };
+ const FAIL = { rate: "rate limited", credit: "out of credit", quota: "quota used up", other: "failed", auth: "sign-in required", canceled: "canceled", foreign: "another account's reasoning", floor: "reply too short", verify: "needs verification", refused: "refused (safety filter)", shape: "request not understood", proxy: "proxy not reachable", effort: "reasoning effort not in its plan", overflow: "too long for its model", room: "reply asked past the window left", slow: "slow to start", prompt: "agent's prompt turned away", restricted: "account restricted by the vendor" };
const failWord = (why) => t(FAIL[why] || "failed");
// a try that answered: one whose reply broke off after it began (its 200
// sent, then the vendor's error, #733) didn't, and has a fail
diff --git a/internal/gui/assets/plugins/routing/i18n.js b/internal/gui/assets/plugins/routing/i18n.js
index 8b8b8396b..12d8c8468 100644
--- a/internal/gui/assets/plugins/routing/i18n.js
+++ b/internal/gui/assets/plugins/routing/i18n.js
@@ -326,6 +326,7 @@ magpie.strings({
"Show the latest request that failed": "查看最近一个失败的请求",
"another account's reasoning": "另一个账号的推理",
"reply too short": "回复长度过短",
+ "reply asked past the window left": "回复上限超出剩余上下文",
"{who} answered {status}: the vendor turns away {agent}'s system prompt whichever account it goes to, so it goes on to the next before any of the reply reaches {agent}. Nothing is wrong with {who}, so it doesn't rest.": "{who} 返回 {status}:服务商不接受 {agent} 的系统提示词,换哪个账号都一样,已在回复到达 {agent} 前转给下一个。{who} 本身无问题,不休息。",
"{who} answered {status}: the vendor turns away {agent}'s system prompt whichever account it goes to, and nobody else is left to try, so {agent} gets the error. Nothing is wrong with {who}, so it doesn't rest.": "{who} 返回 {status}:服务商不接受 {agent} 的系统提示词,换哪个账号都一样,且没有其他可尝试的,{agent} 收到该错误。{who} 本身无问题,不休息。",
"request not understood": "请求格式不被接受",
@@ -853,6 +854,7 @@ magpie.strings({
"Show the latest request that failed": "檢視最近一個失敗的請求",
"another account's reasoning": "另一個帳號的推理",
"reply too short": "回覆長度過短",
+ "reply asked past the window left": "回覆上限超出剩餘上下文",
"{who} answered {status}: the vendor turns away {agent}'s system prompt whichever account it goes to, so it goes on to the next before any of the reply reaches {agent}. Nothing is wrong with {who}, so it doesn't rest.": "{who} 返回 {status}:服務商不接受 {agent} 的系統提示詞,換哪個帳號都一樣,已在回覆到達 {agent} 前轉給下一個。{who} 本身無問題,不休息。",
"{who} answered {status}: the vendor turns away {agent}'s system prompt whichever account it goes to, and nobody else is left to try, so {agent} gets the error. Nothing is wrong with {who}, so it doesn't rest.": "{who} 返回 {status}:服務商不接受 {agent} 的系統提示詞,換哪個帳號都一樣,且沒有其他可嘗試的,{agent} 收到該錯誤。{who} 本身無問題,不休息。",
"request not understood": "請求格式不被接受",
@@ -1378,6 +1380,7 @@ magpie.strings({
"Show the latest request that failed": "最後に失敗したリクエストを表示",
"another account's reasoning": "別のアカウントの推論",
"reply too short": "応答が短すぎる",
+ "reply asked past the window left": "応答上限が残りのコンテキストを超過",
"{who} answered {status}: the vendor turns away {agent}'s system prompt whichever account it goes to, so it goes on to the next before any of the reply reaches {agent}. Nothing is wrong with {who}, so it doesn't rest.": "{who} が {status} を返しました:ベンダーはどのアカウントでも {agent} のシステムプロンプトを拒否するため、応答が {agent} に届く前に次へ進みます。{who} に問題はないので休止しません。",
"{who} answered {status}: the vendor turns away {agent}'s system prompt whichever account it goes to, and nobody else is left to try, so {agent} gets the error. Nothing is wrong with {who}, so it doesn't rest.": "{who} が {status} を返しました:ベンダーはどのアカウントでも {agent} のシステムプロンプトを拒否し、他に試せる相手もいないため、{agent} にエラーを返します。{who} に問題はないので休止しません。",
"request not understood": "リクエストを理解できない",
@@ -1905,6 +1908,7 @@ magpie.strings({
"Show the latest request that failed": "Letzte fehlgeschlagene Anfrage anzeigen",
"another account's reasoning": "Reasoning eines anderen Kontos",
"reply too short": "Antwort zu kurz",
+ "reply asked past the window left": "Antwortlimit über dem freien Kontext",
"{who} answered {status}: the vendor turns away {agent}'s system prompt whichever account it goes to, so it goes on to the next before any of the reply reaches {agent}. Nothing is wrong with {who}, so it doesn't rest.": "{who} antwortete mit {status}: Der Anbieter lehnt den Systemprompt von {agent} bei jedem Konto ab, daher geht sie an den nächsten, bevor etwas von der Antwort {agent} erreicht. Mit {who} ist alles in Ordnung, daher pausiert es nicht.",
"{who} answered {status}: the vendor turns away {agent}'s system prompt whichever account it goes to, and nobody else is left to try, so {agent} gets the error. Nothing is wrong with {who}, so it doesn't rest.": "{who} antwortete mit {status}: Der Anbieter lehnt den Systemprompt von {agent} bei jedem Konto ab, und niemand sonst ist übrig, daher bekommt {agent} den Fehler. Mit {who} ist alles in Ordnung, daher pausiert es nicht.",
"request not understood": "Anfrage nicht verstanden",