provider: the Qoder mover's min is 0.2.24, where Qoder's 400 "Error in upstream response" is a 502 (SlouchyQuill507 on Discord)
SlouchyQuill507 (Discord, qoder-cn) found Qoder's failures of the model's own vendor, "Error in upstream response", reaching magpie as a 400: the client's fault, never asked again or of another account. That runs in the plugin for moved users, so the fix is @magpie-community/opencode-qoder-auth 0.2.24 (plugins 4af310c, "qoder 0.2.24"), which answers it as a 502 and keeps genuine 400s (Qoder's request codes, other invalid requests) as 400. Raising the mover's min makes keepMovedCurrent update every moved user to it. tooLongUnsaid still tells an overflow that fails this way apart by its size, at 502 as at 400. npm view @magpie-community/opencode-qoder-auth@0.2.24 version --prefer-online: 0.2.24. The same plugins push has cline 0.1.10 (the plugin's side ofd2c434b5a: glm-5.3-flash pinned by OpenRouter's provider.only ["z-ai"]); Cline has no mover, so nothing here names its version. Run at0fe039f14plus this change: gofmt -l (none); go vet ./... on darwin, GOOS=linux -tags nogui and GOOS=windows: clean. set -o pipefail; GOMODCACHE=/Users/yetone/go/pkg/mod go test -timeout 45m ./...: 62 packages ok; internal/agent, internal/gateway and internal/library hit the 45m timeout with load average near 100 from other sessions' suites (the tests running at the timeout had run 0-7s, no hang in the stacks). Rerun of those three alone at load ~30: ok (agent 1345s, gateway 1130s, library 914s), exit 0. Rebased onto4ae6c06dc(Codex compaction, routing, GUI tests; nothing in internal/provider/migrate_qoder.go): gofmt -l (none), the three vets of internal/provider and go test ./internal/provider/ ok (216s).
This commit is contained in:
@@ -24,7 +24,7 @@ func init() {
|
||||
func qoderMover(id string) *mover {
|
||||
return &mover{
|
||||
pkg: "@magpie-community/opencode-qoder-auth",
|
||||
min: "0.2.23", // 0.2.23: Cosy-Version claims the desktop app's worker runtime, 1.1.69, beside its desktop client type and machine identity (plugins #281); 0.2.22: a tool result whose call lost its id answers that call, not an orphan Qoder refuses (plugins #277, #278); 0.2.21: Qoder CN signs in with a personal access token, and a PAT account gets the daily check-in; 0.2.20: unnamed tool-call fragments stay out of the chat history; 0.2.19: a model list that can't be read is a 502, so a group falls back to its next member (plugins #249); 0.2.18: a 10605 trimmed or wrapped is the model's queue busy, not a lapsed sign-in (plugins #185); 0.2.17: the daily check-in through auth.checkin (plugins #179); 0.2.16: a tool call written into the text that can't be read, or that the stream ends inside, ends the turn as an error (a 502, or the stream's error frame with no finish), never as the answer (plugins #132); 0.2.14: Qoder's 403 code 10605 (the model's queue busy) is a 503 with Retry-After, not a lapsed sign-in; quota and credit codes (110, 112–119, 122) are 429, refusals of the request (406, 416, 430, 80411, 80412, 100400, 100401, 100403) are 400, and only 105 or no code is "sign in again" (plugins #98); 0.2.13: models are listed from Qoder's app scene first, so its new default Fast 0.8× shows (plugins #97); 0.2.12: a chat Qoder refuses keeps Qoder's own reason in the error; 0.2.11: a Qoder CN enterprise VPC account keeps its model list and renewal mark apart from a public account with the same uid (plugins#40); international check-in finds the device identity runtime Qoder CLI caches on macOS and Linux and the Linux desktop installs in /opt/Qoder (ARNO on Discord); sends Qoder's native device identity, without which the daily 100 credits aren't listed (#1268); Qoder CN enterprise VPC (0.2.8); the daily credits claimed through the account's fetch (ARNO on Discord); Qoder CN as "qoder-cn", its device-token chat as the built-in's; each model's credit rate; the sign-in renewed ahead of time through auth.refresh; token usage read; each model's context the largest window Qoder offers it (#722); the window a request is sent holds the reply's max_tokens (#700)
|
||||
min: "0.2.24", // 0.2.24: Qoder's 400 "Error in upstream response" (the model's own vendor failing) is a 502, so magpie asks again or falls back, not the client's fault (SlouchyQuill507 on Discord); 0.2.23: Cosy-Version claims the desktop app's worker runtime, 1.1.69, beside its desktop client type and machine identity (plugins #281); 0.2.22: a tool result whose call lost its id answers that call, not an orphan Qoder refuses (plugins #277, #278); 0.2.21: Qoder CN signs in with a personal access token, and a PAT account gets the daily check-in; 0.2.20: unnamed tool-call fragments stay out of the chat history; 0.2.19: a model list that can't be read is a 502, so a group falls back to its next member (plugins #249); 0.2.18: a 10605 trimmed or wrapped is the model's queue busy, not a lapsed sign-in (plugins #185); 0.2.17: the daily check-in through auth.checkin (plugins #179); 0.2.16: a tool call written into the text that can't be read, or that the stream ends inside, ends the turn as an error (a 502, or the stream's error frame with no finish), never as the answer (plugins #132); 0.2.14: Qoder's 403 code 10605 (the model's queue busy) is a 503 with Retry-After, not a lapsed sign-in; quota and credit codes (110, 112–119, 122) are 429, refusals of the request (406, 416, 430, 80411, 80412, 100400, 100401, 100403) are 400, and only 105 or no code is "sign in again" (plugins #98); 0.2.13: models are listed from Qoder's app scene first, so its new default Fast 0.8× shows (plugins #97); 0.2.12: a chat Qoder refuses keeps Qoder's own reason in the error; 0.2.11: a Qoder CN enterprise VPC account keeps its model list and renewal mark apart from a public account with the same uid (plugins#40); international check-in finds the device identity runtime Qoder CLI caches on macOS and Linux and the Linux desktop installs in /opt/Qoder (ARNO on Discord); sends Qoder's native device identity, without which the daily 100 credits aren't listed (#1268); Qoder CN enterprise VPC (0.2.8); the daily credits claimed through the account's fetch (ARNO on Discord); Qoder CN as "qoder-cn", its device-token chat as the built-in's; each model's credit rate; the sign-in renewed ahead of time through auth.refresh; token usage read; each model's context the largest window Qoder offers it (#722); the window a request is sent holds the reply's max_tokens (#700)
|
||||
agents: []string{id},
|
||||
out: func() ([]Moving, error) {
|
||||
// nothing else writes the pairs while they are read
|
||||
|
||||
Reference in New Issue
Block a user