Files
magpie/internal
yetone 0fa221b6ec vision: a describer whose every account has to sign in again is not magpie's first pick
@freefcw on X (tweet 2121512865970737221): images sent to Grok's
grok-4.7-build-fast were described by Claude Haiku, whose sign-in had
expired, and the request failed. AutoVision ranked describers by
allowance (spentModel: quota and credit rests, full windows) and then
by tier, a Claude account first, and never asked whether the account
could be used at all. A Claude sign-in Anthropic refused stayed the
first pick, ready, for every image.

smallReadyOf now calls a model not ready when every account of its
provider in use has to be signed in again (provider.SignInNeeded, the
same test the Providers page and the sign-in alerts use: needsSignIn).
Such a model gives way to any other model that sees. When nothing else
sees, it is still named, as a pick out of allowance is (#1801), so
agents are still told images are described. Every small-model pick
goes through smallReadyOf (the searcher and the decide model as well
as vision), so they all skip a signed-out account the same way.

The other half of the report doesn't reproduce: grok-4.7-build-fast
reads as seeing. The Grok plugin has declared input.image for every
model since its first version (0.2.7 now). On the live 0.1.4131 the
model's entry says image:true/imageSaid:true. With the owner's real
Grok account, Chat Completions and Responses images (including a
function_call_output image, Codex's view_image shape) reached Grok
undescribed and were answered. Grok's image refusals (invalid_image
for gif/tiff/heic, more than 26214400 bytes, an unresolvable URL, and
a 422 for a missing image_url) don't match imageRefusedWords, so none
of them marks the model blind. That was checked with a throwaway test
and not committed.

Run (mote, at 1a8fc99f4 = this commit plus the Qwen lazyre fix, on
origin/main 07a62b373; rebased after onto two lessons-only commits):
  gofmt -l: clean
  go vet ./..., GOOS=linux go vet -tags nogui ./...,
  GOOS=windows go vet ./...: ok
  go test -timeout 45m ./...: every package ok (EXIT=0)
An earlier full run at 039025ac6 was red only in
TestNoEagerPackageRegexps (qianwen_plan.go, from 11ddf076b), fixed in
the next commit.

Broken by hand: with search.go's change reverted, the new
TestAutoVisionPassesOverASignedOutAccount fails ("a describer whose
account has to be signed in again said to be ready"). With the change
it passes.

Not tried: a real Claude account whose sign-in really lapsed (the test
uses Claude Code's refusal through a stand-in binary), and the
reporter's own setup (a smart routing group or the analyze_image MCP
tool, on v0.1.3375). Windows skips the new test, because a shell
script stands in for Claude Code.
2026-11-14 16:55:08 +08:00
..
…
…
…
…
…
…
…
…
…
…